Package jenkins.branch
Class BranchSource.DescriptorImpl
- Enclosing class:
- BranchSource
Our
Descriptor.-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildStrategiesDescriptors(MultiBranchProject project, jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchBuildStrategyDescriptorinstances applicable to the specified project and source.propertyStrategyDescriptors(MultiBranchProject project, jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchPropertyStrategyDescriptorinstances applicable to the specified project and source.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BranchSource>
-
propertyStrategyDescriptors
public List<BranchPropertyStrategyDescriptor> propertyStrategyDescriptors(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchPropertyStrategyDescriptorinstances applicable to the specified project and source.- Parameters:
project- the projectsourceDescriptor- the source.- Returns:
- all the
BranchPropertyStrategyDescriptorinstances applicable to the specified project and source.
-
buildStrategiesDescriptors
public List<BranchBuildStrategyDescriptor> buildStrategiesDescriptors(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchBuildStrategyDescriptorinstances applicable to the specified project and source.- Parameters:
project- the projectsourceDescriptor- the source.- Returns:
- all the
BranchBuildStrategyDescriptorinstances applicable to the specified project and source. - Since:
- 2.0.0
-