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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint
getDefaultDurabilityHint()
String
getDisplayName()
org.jenkinsci.plugins.workflow.flow.FlowDurabilityHint[]
getDurabilityHintValues()
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, 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, getStaticHelpUrl, 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<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:
- JENKINS-48826
-
-