Class Environment.EnvironmentResolver
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.Environment.EnvironmentResolver
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
- Enclosing class:
- Environment
public static class Environment.EnvironmentResolver
extends Object
implements Serializable, groovy.lang.GroovyObject
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClosure
(String key, groovy.lang.Closure closure) groovy.lang.Closure
getClosure
(String key) groovy.lang.MetaClass
getProperty
(String property) org.jenkinsci.plugins.workflow.cps.CpsScript
getScriptPropOrParam
(String name) instanceFromMap
(Map<String, groovy.lang.Closure> closureMap) invokeMethod
(String method, Object arguments) void
setFallback
(Environment.EnvironmentResolver fallback) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) void
setScript
(org.jenkinsci.plugins.workflow.cps.CpsScript script)
-
Constructor Details
-
EnvironmentResolver
public EnvironmentResolver()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
setScript
public void setScript(org.jenkinsci.plugins.workflow.cps.CpsScript script) -
getScript
public org.jenkinsci.plugins.workflow.cps.CpsScript getScript() -
setFallback
-
addClosure
-
getClosure
-
getScriptPropOrParam
-
getClosureMap
-
instanceFromMap
public static Environment.EnvironmentResolver instanceFromMap(Map<String, groovy.lang.Closure> closureMap)
-