Class ExecutionModelAction
java.lang.Object
hudson.model.InvisibleAction
org.jenkinsci.plugins.pipeline.modeldefinition.actions.ExecutionModelAction
- All Implemented Interfaces:
Action
,ModelObject
-
Constructor Summary
ConstructorDescriptionExecutionModelAction
(List<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages> stages) Deprecated.ExecutionModelAction
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipeline) ExecutionModelAction
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages s) Deprecated.UseExecutionModelAction(ModelASTPipelineDef)
instead. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPipelineDef
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef p) void
addStages
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages s) Deprecated.org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef
Get the mainModelASTPipelineDef
for the build, returningnull
if there isn't one or it can't be found.List<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef>
Return an unmodifiable list of all instances ofModelASTPipelineDef
attached to the build, including those from shared libraries.org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages
List<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages>
protected Object
void
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
ExecutionModelAction
public ExecutionModelAction(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef pipeline) -
ExecutionModelAction
@Deprecated public ExecutionModelAction(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages s) Deprecated.UseExecutionModelAction(ModelASTPipelineDef)
instead. -
ExecutionModelAction
@Deprecated public ExecutionModelAction(List<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages> stages)
-
-
Method Details
-
readResolve
- Throws:
IOException
-
getStages
public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages getStages() -
getStagesUUID
-
setStagesUUID
-
getStagesList
-
addStages
@Deprecated public void addStages(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages s) Deprecated. -
getPipelineDef
public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef getPipelineDef()Get the mainModelASTPipelineDef
for the build, returningnull
if there isn't one or it can't be found.- See Also:
-
getPipelineDefs
public List<org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef> getPipelineDefs()Return an unmodifiable list of all instances ofModelASTPipelineDef
attached to the build, including those from shared libraries.- See Also:
-
addPipelineDef
public void addPipelineDef(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef p)
-
ExecutionModelAction(ModelASTPipelineDef)
andaddPipelineDef(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef)
instead.