Package jenkins.branch
package jenkins.branch
-
ClassDescriptionHolds the basic 'empty view' parentBaseView<T extends jenkins.scm.api.SCMCategory<?>>A source code branch.Represents a dead branch.Ensures that the
Branch.getActions()are always present in theActionable.getAllActions().An extension point that allows controlling whether a specificSCMHeadshould be automatically built when discovered.DescriptorforBranchBuildStrategyinstances.Declares that a build was due to a branch event.Declares that a build was due to branch indexing.Defines the environment variableBRANCH_NAMEandBRANCH_IS_PRIMARYfor multibranch builds.Creates instances of the branch projects for a specificBranchand also provides some utility methods for updating the branch specific projects.Base class for allBranchProjectFactoryinstances.Additional information associated withBranch.DescriptorforBranchProperty.Ensures that the configuration screen of (for example)DefaultBranchPropertyStrategyshows only appropriate descriptors.A strategy for determining the properties that apply to a specificSCMHead.The base class forDescriptors orBranchPropertyStrategyinstances.A source of branches, which consists of a source and a strategy for creating properties of the branches from this source.OurDescriptor.ListViewColumnthat shows the status icon for item ensuring thatBranch.Deadjobs are reported as disabled.Our descriptor.Hide this column from user views as it would only confuse them.Deprecated.OurDescriptor.An action that puts some css on job and run pages for jobs representingBranch.Dead.A very simpleBranchPropertyStrategythat just returns the same set of properties for allSCMHeadinstances.ListViewColumnthat shows the description text of aJobwith priority given toObjectMetadataAction.getObjectDescription().Our descriptor.DescriptorOrder<T extends Describable<T>>AComparatorthat comparesDescribableinstances of a specific type based on the order of theirDescriptors inJenkins's list ofDescriptors for that type.Our extension.Hide this column from user views as it would only confuse them.Something that can decorate a job.Generated localization support class.AFolderIconspecifically forOrganizationFolderandMultiBranchProjectinstances that will delegate to theAvatarMetadataActionattached to the folder.Our descriptor.Abstract base class for multiple-branch based projects.Represents the branch indexing job.Veto attempts to copy branch projects outside of their multibranch container.Our event listener.Adds theMultiBranchProject.State.sourceActionstoActionable.getAllActions().TheDescriptorforMultiBranchProjects.MultiBranchProjectDescriptor.ChildNameGeneratorImpl<P extends Job<P,R> & TopLevelItem, R extends Run<P, R>> Possible Display naming strategies.ASCMSourceTraitthat controls how to set display names forSCMHeads with additional information like merge/change/pull requests.Our descriptor.Special view used whenMultiBranchProjecthas no branches.CreatesMultiBranchProjects for repositories where recognized.Creates a particular kind of multibranch project insofar as at least oneSCMHeadsatisfies a probe.A kind ofMultiBranchProjectFactory.Holds the view configuration for anMultiBranchProject.A custom category specific view.Our descriptorAllows named branches to get different properties from the rest.Holds the specific named exception details.OurDescriptorEncodes names that are not nice so that they are safe to use as URL path segments.Mangles names that are not nice so that they are safe to use on filesystem.Suppresses builds due to eitherBranchIndexingCauseorBranchEventCause.Keeps configuration used to determine whether builds requested byBranchIndexingCauseorBranchEventCauseshould be suppressed.Strategy which determines which builds should be suppressed.DefinesNoTriggerBranchPropertyon selected branches.A property that sets the health metrics for immediate children of anOrganizationFolder.Our descriptor.Configures theOrphanedItemStrategyto use for children of aOrganizationFolder.Our descriptor.Special marker class to flag copying the parent strategy.Our descriptor.Our descriptor.A folder-like collection ofMultiBranchProjects, one per repository.Our descriptorOur scan.Listens for events from the SCM event system.Adds theOrganizationFolder.State.getActions()toActionable.getAllActions().Special view used whenOrganizationFolderhas no repositories.OrganizationFolderProperty<C extends OrganizationFolder>AAbstractFolderPropertythat is specific toOrganizationFolders.TheDescriptorbase class forOrganizationFolderPropertytypes.Holds the view configuration for anOrganizationFolder.A custom category specific view.Our descriptorAllows overriding indexing triggers for an individual job - either by enabling when the multibranch or org is set to suppress them, or disabling if they're otherwise enabled.Support for build parameters.AFolderHealthMetricforMultiBranchProjectinstances that only reports the health of the primary branch.Our descriptor.Something that can decorate a project.Holds the unmangled project name provided toSCMSourceObserver.observe(String)and used to create aMultiBranchProjectwithin aOrganizationFolder.PropertyMigration<F extends com.cloudbees.hudson.plugins.folder.AbstractFolder<?>,P extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<F>> An extension point that captures the need for a complex migration of a folder property into some other configuration of the containing folder.PropertyMigration.Migrator<F extends com.cloudbees.hudson.plugins.folder.AbstractFolder<?>,P extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<F>> Deprecated.Suppressed byJobPropertyStep.HideSuperfluousBranchPropertiesfor Pipeline.Our descriptorOur descriptor.This does the work of blocking builds while the throttle is enforced.This class is to work around some annoying "features" of f:optionalBlockBase class for aViewJobFilterthat will filter based on theBranchthat a job in aMultiBranchProjectbelongs to.Provides the alternative text forAbstractItem.TASK_NOUNwhen running on newer versions of Jenkins.Deprecated.Not used by Pipeline.OurDescriptor.Chooses manageable workspace names for (especially branch) projects.Cleans up workspaces for apparently missing jobs when a node goes online.Cleans up workspace when an orphaned project is deleted.
JobPropertyStep.HideSuperfluousBranchPropertiesfor Pipeline.