Class Stage
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.modeldefinition.model.Stage
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
@ToString @EqualsAndHashCode public class Stage extends Object implements Serializable, groovy.lang.GroovyObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, boolean failFast, StageOptions options, StageInput input, Stages stages, Parallel parallel, Environment matrixCellEnvironment)
Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, Stages parallel, boolean failFast)
Deprecated.Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, Stages parallel, boolean failFast, StageOptions options, StageInput input)
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
Stage
@Deprecated public Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, Stages parallel, boolean failFast)
Deprecated.
-
Stage
@Deprecated public Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, Stages parallel, boolean failFast, StageOptions options, StageInput input)
Deprecated.
-
Stage
public Stage(String name, StepsBlock steps, Agent agent, PostStage post, StageConditionals when, Tools tools, Environment environment, boolean failFast, StageOptions options, StageInput input, Stages stages, Parallel parallel, Environment matrixCellEnvironment)
-
-
Method Detail
-
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
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getName
public String getName()
-
setName
public void setName(String value)
-
getAgent
public Agent getAgent()
-
setAgent
public void setAgent(Agent value)
-
getPost
public PostStage getPost()
-
setPost
public void setPost(PostStage value)
-
getWhen
public StageConditionals getWhen()
-
setWhen
public void setWhen(StageConditionals value)
-
getTools
public Tools getTools()
-
setTools
public void setTools(Tools value)
-
getMatrixCellEnvironment
public Environment getMatrixCellEnvironment()
-
setMatrixCellEnvironment
public void setMatrixCellEnvironment(Environment value)
-
getEnvironment
public Environment getEnvironment()
-
setEnvironment
public void setEnvironment(Environment value)
-
getSteps
public StepsBlock getSteps()
-
setSteps
public void setSteps(StepsBlock value)
-
getStages
public Stages getStages()
-
setStages
public void setStages(Stages value)
-
getParallel
public Parallel getParallel()
-
setParallel
public void setParallel(Parallel value)
-
getMatrix
public Matrix getMatrix()
-
setMatrix
public void setMatrix(Matrix value)
-
getFailFast
public boolean getFailFast()
-
isFailFast
public boolean isFailFast()
-
setFailFast
public void setFailFast(boolean value)
-
getOptions
public StageOptions getOptions()
-
setOptions
public void setOptions(StageOptions value)
-
getInput
public StageInput getInput()
-
setInput
public void setInput(StageInput value)
-
readResolve
protected Object readResolve() throws IOException
- Throws:
IOException
-
getEnvVars
public Map<String,groovy.lang.Closure> getEnvVars(org.jenkinsci.plugins.workflow.cps.CpsScript script)
-
-