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
Modifier and TypeClassDescriptionstatic class
static class
static class
Nested 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 EnvActionImpl
Gets the singleton instance for a given build, creating it on demand.getProperty
(String propertyName) void
onAttached
(Run<?, ?> r) void
void
setProperty
(String propertyName, Object newValue) Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
-
Method Details
-
getEnvironment
- Specified by:
getEnvironment
in interfaceorg.jenkinsci.plugins.workflow.support.actions.EnvironmentAction
- Throws:
IOException
InterruptedException
-
getOverriddenEnvironment
- Specified by:
getOverriddenEnvironment
in interfaceorg.jenkinsci.plugins.workflow.support.actions.EnvironmentAction.IncludingOverrides
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classgroovy.lang.GroovyObjectSupport
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classgroovy.lang.GroovyObjectSupport
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
onAttached
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
- Specified by:
onLoad
in interfaceRunAction2
-
forRun
Gets the singleton instance for a given build, creating it on demand.- Throws:
IOException
-