Class UpdateLockStep.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
org.jenkins.plugins.lockableresources.UpdateLockStep.DescriptorImpl
- Enclosing class:
UpdateLockStep
@Extension
public static final class UpdateLockStep.DescriptorImpl
extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoAutoCompleteResource(String value, Item item) Provides auto-completion for resource names.doCheckAddLabels(String value, String setLabels, Item item) Validates addLabels option - cannot be used with setLabels.doCheckDeleteResource(boolean value, String setLabels, String addLabels, String removeLabels, String setNote, boolean createResource, Item item) Validates deleteResource option - cannot be combined with other modify options.doCheckRemoveLabels(String value, String setLabels, Item item) Validates removeLabels option - cannot be used with setLabels.doCheckResource(String value, Item item) Validates the resource name.booleanMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, argumentsToString, byFunctionName, checkContextAvailability, defineArguments, getMetaStepArgumentType, getProvidedContext, isAdvanced, isMetaStep, metaStepsOf, newInstance, uninstantiateMethods 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
-
getFunctionName
- Specified by:
getFunctionNamein classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
takesImplicitBlockArgument
public boolean takesImplicitBlockArgument()- Overrides:
takesImplicitBlockArgumentin classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getRequiredContext
- Specified by:
getRequiredContextin classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
doAutoCompleteResource
public AutoCompletionCandidates doAutoCompleteResource(@QueryParameter String value, @AncestorInPath Item item) Provides auto-completion for resource names. -
doCheckResource
Validates the resource name. -
doCheckAddLabels
public FormValidation doCheckAddLabels(@QueryParameter String value, @QueryParameter String setLabels, @AncestorInPath Item item) Validates addLabels option - cannot be used with setLabels. -
doCheckRemoveLabels
public FormValidation doCheckRemoveLabels(@QueryParameter String value, @QueryParameter String setLabels, @AncestorInPath Item item) Validates removeLabels option - cannot be used with setLabels. -
doCheckDeleteResource
public FormValidation doCheckDeleteResource(@QueryParameter boolean value, @QueryParameter String setLabels, @QueryParameter String addLabels, @QueryParameter String removeLabels, @QueryParameter String setNote, @QueryParameter boolean createResource, @AncestorInPath Item item) Validates deleteResource option - cannot be combined with other modify options.
-