public abstract class BranchPropertyDescriptor extends hudson.model.Descriptor<BranchProperty>
Descriptor for BranchProperty.| Constructor and Description |
|---|
BranchPropertyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<BranchProperty,BranchPropertyDescriptor> |
all()
All the registered
BranchPropertyDescriptors. |
static List<BranchPropertyDescriptor> |
all(MultiBranchProject project)
Gets all the
BranchPropertyDescriptor instances applicable to the specified project. |
boolean |
isApplicable(MultiBranchProject project)
A branch property may not be appropriate for every project, this method lets a property
opt out of being selectable for a specific project.
|
protected boolean |
isApplicable(MultiBranchProjectDescriptor projectDescriptor)
Usually a branch property is more concerned with the specific type of project than the specifics of
the project instance.
|
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
MultiBranchProject project)
project - the project. true iff this property is relevant with this project instance.protected boolean isApplicable(@NonNull
MultiBranchProjectDescriptor projectDescriptor)
projectDescriptor - the project type. true iff this property is relevant with this project type.public static hudson.DescriptorExtensionList<BranchProperty,BranchPropertyDescriptor> all()
BranchPropertyDescriptors.public static List<BranchPropertyDescriptor> all(@NonNull MultiBranchProject project)
BranchPropertyDescriptor instances applicable to the specified project.project - the projectBranchPropertyDescriptor instances applicable to the specified project.Copyright © 2004-2013. All Rights Reserved.