Annotation Type StepContextParameter


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