public abstract class BranchBuildStrategyDescriptor extends Descriptor<BranchBuildStrategy>
Descriptor for BranchBuildStrategy instances.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
BranchBuildStrategyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static List<BranchBuildStrategyDescriptor> |
all()
Gets all the
BranchBuildStrategyDescriptor instances. |
static List<BranchBuildStrategyDescriptor> |
all(MultiBranchProject project,
jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
Gets all the
BranchBuildStrategyDescriptor instances applicable to the specified project and source. |
boolean |
isApplicable(MultiBranchProject project)
A branch build strategy may not be appropriate for every project, this method lets a strategy
opt out of being selectable for a specific project.
|
protected boolean |
isApplicable(MultiBranchProjectDescriptor projectDescriptor)
Usually a branch property strategy is more concerned with the specific type of project than the specifics of
the project instance.
|
boolean |
isApplicable(jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
A branch build strategy may not be appropriate for every type of source, this method lets a strategy
opt out of being selectable for a specific source type.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic boolean isApplicable(@NonNull
jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
sourceDescriptor - the source descriptor.public boolean isApplicable(@NonNull
MultiBranchProject project)
By default it checks isApplicable(MultiBranchProjectDescriptor).
project - the project.protected boolean isApplicable(@NonNull
MultiBranchProjectDescriptor projectDescriptor)
projectDescriptor - the project type.public static List<BranchBuildStrategyDescriptor> all()
BranchBuildStrategyDescriptor instances.BranchBuildStrategyDescriptor instances.public static List<BranchBuildStrategyDescriptor> all(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
BranchBuildStrategyDescriptor instances applicable to the specified project and source.project - the projectsourceDescriptor - the source.BranchBuildStrategyDescriptor instances applicable to the specified project and
source.Copyright © 2016–2019. All rights reserved.