Class AbstractStepDescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<Step>
-
- org.jenkinsci.plugins.workflow.steps.StepDescriptor
-
- org.jenkinsci.plugins.workflow.steps.AbstractStepDescriptorImpl
-
@Deprecated public abstract class AbstractStepDescriptorImpl extends StepDescriptor
Deprecated.Directly extendStepDescriptor
and avoid Guice.- 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
Constructors Modifier Constructor Description protected
AbstractStepDescriptorImpl(Class<? extends StepExecution> executionType)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<? extends StepExecution>
getExecutionType()
Deprecated.Set<Class<?>>
getRequiredContext()
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, 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 Detail
-
AbstractStepDescriptorImpl
protected AbstractStepDescriptorImpl(Class<? extends StepExecution> executionType)
Deprecated.- Parameters:
executionType
- an associated execution class; theStep
(usually anAbstractStepImpl
) can beInject
ed astransient
;StepContextParameter
may be used ontransient
fields as well
-
-
Method Detail
-
getExecutionType
public final Class<? extends StepExecution> getExecutionType()
Deprecated.
-
getRequiredContext
public final Set<Class<?>> 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
-
-