Class Agent
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.MappedClosure<Object,Agent>
org.jenkinsci.plugins.pipeline.modeldefinition.model.Agent
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
@ToString
@EqualsAndHashCode
public class Agent
extends MappedClosure<Object,Agent>
implements Serializable, groovy.lang.GroovyObject
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent
getDeclarativeAgent
(Object context) Deprecated.org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent
getDeclarativeAgent
(Root root, Object context) groovy.lang.MetaClass
getProperty
(String property) final groovy.lang.Closure
boolean
hasAgent()
invokeMethod
(String method, Object arguments) void
populateMap
(Map<String, Object> m) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.model.MappedClosure
getMap, getResultMap, getSerialVersionUID, put, remove, setResultMap
-
Constructor Details
-
Agent
Deprecated. -
Agent
public Agent(groovy.lang.Closure rawClosure)
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classMappedClosure<Object,
Agent>
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classMappedClosure<Object,
Agent>
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classMappedClosure<Object,
Agent>
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classMappedClosure<Object,
Agent>
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classMappedClosure<Object,
Agent>
-
getRawClosure
public final groovy.lang.Closure getRawClosure() -
populateMap
-
getDeclarativeAgent
@Deprecated public org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent getDeclarativeAgent(Object context) Deprecated. -
getDeclarativeAgent
-
hasAgent
public boolean hasAgent()
-