Class BuildTriggerStep.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
- org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerStep.DescriptorImpl
-
- All Implemented Interfaces:
Saveable
,OnMaster
,org.jenkinsci.plugins.structs.describable.CustomDescribableModel
- Enclosing class:
- BuildTriggerStep
@Extension public static class BuildTriggerStep.DescriptorImpl extends org.jenkinsci.plugins.workflow.steps.StepDescriptor implements org.jenkinsci.plugins.structs.describable.CustomDescribableModel
-
-
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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
customInstantiate(Map<String,Object> map)
Compatibility hack for JENKINS-62305.org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
customUninstantiate(org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable step)
AutoCompletionCandidates
doAutoCompleteJob(ItemGroup<?> container, String value)
FormValidation
doCheckJob(ItemGroup<?> context, String value)
FormValidation
doCheckPropagate(boolean value, boolean wait)
FormValidation
doCheckWait(ItemGroup<?> context, boolean value, String job)
String
getContext()
String
getContextEncoded()
String
getDisplayName()
String
getFunctionName()
Set<? extends Class<?>>
getRequiredContext()
org.jenkinsci.plugins.workflow.steps.Step
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, argumentsToString, byFunctionName, checkContextAvailability, defineArguments, getMetaStepArgumentType, getProvidedContext, isAdvanced, isMetaStep, metaStepsOf, newInstance, takesImplicitBlockArgument, uninstantiate
-
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
newInstance
public org.jenkinsci.plugins.workflow.steps.Step newInstance(@Nullable org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
- Throws:
Descriptor.FormException
-
customInstantiate
@NonNull public Map<String,Object> customInstantiate(@NonNull Map<String,Object> map)
Compatibility hack for JENKINS-62305. Only affects runtime behavior of the step, not the snippet generator. Ideally, password parameters would not be used at all with this step, but there was no documentation or runtime warnings for this usage previously and so it is relatively common.- Specified by:
customInstantiate
in interfaceorg.jenkinsci.plugins.structs.describable.CustomDescribableModel
-
customUninstantiate
@NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable step)
- Specified by:
customUninstantiate
in interfaceorg.jenkinsci.plugins.structs.describable.CustomDescribableModel
-
getRequiredContext
public Set<? extends Class<?>> getRequiredContext()
- Specified by:
getRequiredContext
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<org.jenkinsci.plugins.workflow.steps.Step>
-
doAutoCompleteJob
public AutoCompletionCandidates doAutoCompleteJob(@AncestorInPath ItemGroup<?> container, @QueryParameter String value)
-
getContext
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public String getContext()
-
getContextEncoded
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public String getContextEncoded()
-
doCheckPropagate
public FormValidation doCheckPropagate(@QueryParameter boolean value, @QueryParameter boolean wait)
-
doCheckWait
public FormValidation doCheckWait(@AncestorInPath ItemGroup<?> context, @QueryParameter boolean value, @QueryParameter String job)
-
doCheckJob
public FormValidation doCheckJob(@AncestorInPath ItemGroup<?> context, @QueryParameter String value)
-
-