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) booleangetInput()getMatrixCellEnvVars(org.jenkinsci.plugins.workflow.cps.CpsScript script) groovy.lang.MetaClassgetName()getPost()getProperty(String property) getSteps()getTools()getWhen()invokeMethod(String method, Object arguments) booleanprotected ObjectvoidvoidsetEnvironment(Environment value) voidsetFailFast(boolean value) voidsetInput(StageInput value) voidvoidvoidsetMetaClass(groovy.lang.MetaClass mc) voidvoidsetOptions(StageOptions value) voidsetParallel(Parallel value) voidsetParallelContent(List<Stage> value) voidvoidsetProperty(String property, Object value) voidvoidsetSteps(StepsBlock value) voidvoidsetWhen(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:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setPropertyin 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
-