Class AbstractStepDescriptorImpl
java.lang.Object
hudson.model.Descriptor<Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
org.jenkinsci.plugins.workflow.steps.AbstractStepDescriptorImpl
Deprecated.
- Author:
- Kohsuke Kawaguchi
-
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
ModifierConstructorDescriptionprotected
AbstractStepDescriptorImpl
(Class<? extends StepExecution> executionType) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal Class<? extends StepExecution>
Deprecated.Deprecated.Looks for the fields and setter methods withStepContextParameter
s and infer required contexts from there.Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, argumentsToString, byFunctionName, checkContextAvailability, defineArguments, getFunctionName, 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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
AbstractStepDescriptorImpl
Deprecated.- Parameters:
executionType
- an associated execution class; theStep
(usually anAbstractStepImpl
) can beInject
ed astransient
;StepContextParameter
may be used ontransient
fields as well
-
-
Method Details
-
getExecutionType
Deprecated. -
getRequiredContext
Deprecated.Looks for the fields and setter methods withStepContextParameter
s and infer required contexts from there.- Specified by:
getRequiredContext
in classStepDescriptor
- Returns:
- a set of context types like
TaskListener
orRun
orFilePath
-
StepDescriptor
and avoid Guice.