Class DurabilityHintBranchProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.branch.BranchProperty>
jenkins.branch.BranchPropertyDescriptor
org.jenkinsci.plugins.workflow.multibranch.DurabilityHintBranchProperty.DescriptorImpl
- All Implemented Interfaces:
ExtensionPoint,Saveable,Loadable,OnMaster,org.jenkinsci.plugins.workflow.flow.DurabilityHintProvider
- Enclosing class:
- DurabilityHintBranchProperty
@Symbol("durabilityHint")
@Extension
public static class DurabilityHintBranchProperty.DescriptorImpl
extends jenkins.branch.BranchPropertyDescriptor
implements org.jenkinsci.plugins.workflow.flow.DurabilityHintProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.branch.BranchPropertyDescriptor
jenkins.branch.BranchPropertyDescriptor.VisibilityNested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jenkinsci.plugins.workflow.flow.FlowDurabilityHintorg.jenkinsci.plugins.workflow.flow.FlowDurabilityHint[]intordinal()Lower ordinal thanDurabilityHintJobPropertyso those can override.org.jenkinsci.plugins.workflow.flow.FlowDurabilityHintsuggestFor(Item x) Dynamically fetch the property with each build, because theBranchPropertyStrategydoes not re-evaluate.Methods inherited from class jenkins.branch.BranchPropertyDescriptor
all, all, isApplicable, isApplicableMethods 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<jenkins.branch.BranchProperty>
-
getDurabilityHintValues
public org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint[] getDurabilityHintValues() -
getDefaultDurabilityHint
public static org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint getDefaultDurabilityHint() -
ordinal
public int ordinal()Lower ordinal thanDurabilityHintJobPropertyso those can override.- Specified by:
ordinalin interfaceorg.jenkinsci.plugins.workflow.flow.DurabilityHintProvider
-
suggestFor
@CheckForNull public org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint suggestFor(@NonNull Item x) Dynamically fetch the property with each build, because theBranchPropertyStrategydoes not re-evaluate.- Specified by:
suggestForin interfaceorg.jenkinsci.plugins.workflow.flow.DurabilityHintProvider- See Also:
-