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
-
Method Summary
Modifier and TypeMethodDescriptionbuildStrategiesDescriptors
(MultiBranchProject project, jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchBuildStrategyDescriptor
instances applicable to the specified project and source.propertyStrategyDescriptors
(MultiBranchProject project, jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchPropertyStrategyDescriptor
instances applicable to the specified project and source.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BranchSource>
-
propertyStrategyDescriptors
public List<BranchPropertyStrategyDescriptor> propertyStrategyDescriptors(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchPropertyStrategyDescriptor
instances applicable to the specified project and source.- Parameters:
project
- the projectsourceDescriptor
- the source.- Returns:
- all the
BranchPropertyStrategyDescriptor
instances applicable to the specified project and source.
-
buildStrategiesDescriptors
public List<BranchBuildStrategyDescriptor> buildStrategiesDescriptors(@NonNull MultiBranchProject project, @NonNull jenkins.scm.api.SCMSourceDescriptor sourceDescriptor) Gets all theBranchBuildStrategyDescriptor
instances applicable to the specified project and source.- Parameters:
project
- the projectsourceDescriptor
- the source.- Returns:
- all the
BranchBuildStrategyDescriptor
instances applicable to the specified project and source. - Since:
- 2.0.0
-