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.Visibility
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested 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.FlowDurabilityHint
org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint[]
int
ordinal()
Lower ordinal thanDurabilityHintJobProperty
so those can override.org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint
suggestFor
(Item x) Dynamically fetch the property with each build, because theBranchPropertyStrategy
does not re-evaluate.Methods inherited from class jenkins.branch.BranchPropertyDescriptor
all, all, isApplicable, isApplicable
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:
getDisplayName
in 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 thanDurabilityHintJobProperty
so those can override.- Specified by:
ordinal
in 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 theBranchPropertyStrategy
does not re-evaluate.- Specified by:
suggestFor
in interfaceorg.jenkinsci.plugins.workflow.flow.DurabilityHintProvider
- See Also:
-