Annotation Type StepContextParameter
-
@Deprecated @Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented public @interface StepContextParameter
Deprecated.CallStepContext.get(java.lang.Class<T>)
as needed and avoid Guice.Injects value fromStepContext.get(Class)
. Used on methods and fields of the subtype ofAbstractStepExecutionImpl
.AbstractStepImpl.start(org.jenkinsci.plugins.workflow.steps.StepContext)
andAbstractStepExecutionImpl.onResume()
will inject context variables to those fields.- Author:
- Kohsuke Kawaguchi
- See Also:
AbstractStepImpl