Package jenkins.branch
Class UntrustedBranchProperty.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<BranchProperty>
-
- jenkins.branch.BranchPropertyDescriptor
-
- jenkins.branch.UntrustedBranchProperty.DescriptorImpl
-
- Enclosing class:
- UntrustedBranchProperty
@Symbol("untrusted") @Extension public static class UntrustedBranchProperty.DescriptorImpl extends BranchPropertyDescriptor
OurDescriptor
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.branch.BranchPropertyDescriptor
BranchPropertyDescriptor.Visibility
-
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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Map<String,Descriptor<Publisher>>
getPublisherDescriptors()
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.-
Methods inherited from class jenkins.branch.BranchPropertyDescriptor
all, all, isApplicable
-
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
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<BranchProperty>
-
getPublisherDescriptors
public Map<String,Descriptor<Publisher>> getPublisherDescriptors()
-
isApplicable
protected boolean isApplicable(@NonNull MultiBranchProjectDescriptor projectDescriptor)
Description copied from class:BranchPropertyDescriptor
Usually a branch property is more concerned with the specific type of project than the specifics of the project instance.- Overrides:
isApplicable
in classBranchPropertyDescriptor
- Parameters:
projectDescriptor
- the project type.- Returns:
- true iff this property is relevant with this project type.
-
-