Class EnvActionImpl
java.lang.Object
groovy.lang.GroovyObjectSupport
org.jenkinsci.plugins.workflow.cps.EnvActionImpl
- All Implemented Interfaces:
groovy.lang.GroovyObject,Action,ModelObject,RunAction2,org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction,org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction.IncludingOverrides
@ExportedBean
public class EnvActionImpl
extends groovy.lang.GroovyObjectSupport
implements org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction.IncludingOverrides, RunAction2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from interface org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction
org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction.IncludingOverrides -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvActionImplGets the singleton instance for a given build, creating it on demand.getProperty(String propertyName) voidonAttached(Run<?, ?> r) voidvoidsetProperty(String propertyName, Object newValue) Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
-
Method Details
-
getEnvironment
- Specified by:
getEnvironmentin interfaceorg.jenkinsci.plugins.workflow.support.actions.EnvironmentAction- Throws:
IOExceptionInterruptedException
-
getOverriddenEnvironment
- Specified by:
getOverriddenEnvironmentin interfaceorg.jenkinsci.plugins.workflow.support.actions.EnvironmentAction.IncludingOverrides
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classgroovy.lang.GroovyObjectSupport
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classgroovy.lang.GroovyObjectSupport
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
forRun
Gets the singleton instance for a given build, creating it on demand.- Throws:
IOException
-