@ToString @EqualsAndHashCode public class Stage extends Object implements NestedModel, Serializable, groovy.lang.GroovyObject
Constructor and Description |
---|
Stage() |
Modifier and Type | Method and Description |
---|---|
Stage |
agent(Agent a) |
Stage |
environment(Environment environment) |
Agent |
getAgent() |
Environment |
getEnvironment() |
List<String> |
getEnvVars(Root root,
org.jenkinsci.plugins.workflow.cps.CpsScript script) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
PostStage |
getPost() |
Object |
getProperty(String property) |
StepsBlock |
getSteps() |
Tools |
getTools() |
StageConditionals |
getWhen() |
Object |
invokeMethod(String method,
Object arguments) |
void |
modelFromMap(Map<String,Object> m) |
Stage |
name(String n) |
Stage |
post(PostStage post) |
void |
setAgent(Agent value) |
void |
setEnvironment(Environment value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setName(String value) |
void |
setPost(PostStage value) |
void |
setProperty(String property,
Object value) |
void |
setSteps(StepsBlock value) |
void |
setTools(Tools value) |
void |
setWhen(StageConditionals value) |
Stage |
steps(StepsBlock s) |
Stage |
tools(Tools tools) |
Stage |
when(StageConditionals when) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public String getName()
public void setName(String value)
public StepsBlock getSteps()
public void setSteps(StepsBlock value)
public Agent getAgent()
public void setAgent(Agent value)
public PostStage getPost()
public void setPost(PostStage value)
public StageConditionals getWhen()
public void setWhen(StageConditionals value)
public Tools getTools()
public void setTools(Tools value)
public Environment getEnvironment()
public void setEnvironment(Environment value)
public Stage steps(StepsBlock s)
public Stage when(StageConditionals when)
public Stage environment(Environment environment)
public List<String> getEnvVars(Root root, org.jenkinsci.plugins.workflow.cps.CpsScript script)
public void modelFromMap(Map<String,Object> m)
modelFromMap
in interface NestedModel
Copyright © 2016–2017. All rights reserved.