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:
-
Constructor Summary
ConstructorsConstructorDescriptionStage
(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
Modifier and TypeMethodDescriptiongetAgent()
getEnvVars
(org.jenkinsci.plugins.workflow.cps.CpsScript script) boolean
getInput()
getMatrixCellEnvVars
(org.jenkinsci.plugins.workflow.cps.CpsScript script) groovy.lang.MetaClass
getName()
getPost()
getProperty
(String property) getSteps()
getTools()
getWhen()
invokeMethod
(String method, Object arguments) boolean
protected Object
void
void
setEnvironment
(Environment value) void
setFailFast
(boolean value) void
setInput
(StageInput value) void
void
void
setMetaClass
(groovy.lang.MetaClass mc) void
void
setOptions
(StageOptions value) void
setParallel
(Parallel value) void
setParallelContent
(List<Stage> value) void
void
setProperty
(String property, Object value) void
void
setSteps
(StepsBlock value) void
void
setWhen
(StageConditionals value)
-
Constructor Details
-
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 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
-
getName
-
setName
-
getAgent
-
setAgent
-
getPost
-
setPost
-
getWhen
-
setWhen
-
getTools
-
setTools
-
getMatrixCellEnvironment
-
setMatrixCellEnvironment
-
getEnvironment
-
setEnvironment
-
getSteps
-
setSteps
-
getStages
-
setStages
-
getParallelContent
-
setParallelContent
-
getParallel
-
setParallel
-
getMatrix
-
setMatrix
-
getFailFast
public boolean getFailFast() -
isFailFast
public boolean isFailFast() -
setFailFast
public void setFailFast(boolean value) -
getOptions
-
setOptions
-
getInput
-
setInput
-
readResolve
- Throws:
IOException
-
getEnvVars
-
getMatrixCellEnvVars
-