@ToString @EqualsAndHashCode public class Agent extends MappedClosure<Object,Agent> implements Serializable
Constructor and Description |
---|
Agent() |
Modifier and Type | Method and Description |
---|---|
Agent |
convertZeroArgs() |
org.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 |
getMetaClass() |
Object |
getProperty(String property) |
boolean |
hasAgent() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
getMap, getResultMap, getSerialVersionUID, methodMissing, modelFromMap, setResultMap
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class MappedClosure<Object,Agent>
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class MappedClosure<Object,Agent>
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class MappedClosure<Object,Agent>
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class MappedClosure<Object,Agent>
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class MappedClosure<Object,Agent>
@Deprecated public org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent getDeclarativeAgent(Object context)
public org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent getDeclarativeAgent(Root root, Object context)
public boolean hasAgent()
public Agent convertZeroArgs()
Copyright © 2016–2017. All rights reserved.