public abstract class BranchPropertyStrategyDescriptor extends hudson.model.Descriptor<BranchPropertyStrategy>
Descriptors or BranchPropertyStrategy instances.| Constructor and Description |
|---|
BranchPropertyStrategyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<BranchPropertyStrategy,BranchPropertyStrategyDescriptor> |
all()
Gets all the
BranchPropertyStrategyDescriptor instances. |
static List<BranchPropertyStrategyDescriptor> |
all(MultiBranchProject project,
jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
Gets all the
BranchPropertyStrategyDescriptor instances applicable to the specified project and source. |
List<BranchPropertyDescriptor> |
getPropertyDescriptors()
Utility stapler binding for
BranchPropertyDescriptor.all(MultiBranchProject). |
boolean |
isApplicable(MultiBranchProject project)
A branch property 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 property 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, 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. true iff this property strategy is relevant with this source.public boolean isApplicable(@NonNull
MultiBranchProject project)
project - the project. true iff this property strategy is relevant with this project instance.protected boolean isApplicable(@NonNull
MultiBranchProjectDescriptor projectDescriptor)
projectDescriptor - the project type. true iff this property strategy is relevant with this project type.public static hudson.DescriptorExtensionList<BranchPropertyStrategy,BranchPropertyStrategyDescriptor> all()
BranchPropertyStrategyDescriptor instances.BranchPropertyStrategyDescriptor instances.public static List<BranchPropertyStrategyDescriptor> all(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor)
BranchPropertyStrategyDescriptor instances applicable to the specified project and source.project - the projectsourceDescriptor - the source.BranchPropertyStrategyDescriptor instances applicable to the specified project and
source.@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public List<BranchPropertyDescriptor> getPropertyDescriptors()
BranchPropertyDescriptor.all(MultiBranchProject).Copyright © 2004-2013. All Rights Reserved.