public class PipelineContext
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about a pipeline to a job worker.
Modifier and Type | Field and Description |
---|---|
private ActionContext |
action |
private java.lang.String |
pipelineName
The name of the pipeline.
|
private StageContext |
stage
The stage of the pipeline.
|
Constructor and Description |
---|
PipelineContext() |
Modifier and Type | Method and Description |
---|---|
PipelineContext |
clone() |
boolean |
equals(java.lang.Object obj) |
ActionContext |
getAction() |
java.lang.String |
getPipelineName()
The name of the pipeline.
|
StageContext |
getStage()
The stage of the pipeline.
|
int |
hashCode() |
void |
setAction(ActionContext action) |
void |
setPipelineName(java.lang.String pipelineName)
The name of the pipeline.
|
void |
setStage(StageContext stage)
The stage of the pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineContext |
withAction(ActionContext action) |
PipelineContext |
withPipelineName(java.lang.String pipelineName)
The name of the pipeline.
|
PipelineContext |
withStage(StageContext stage)
The stage of the pipeline.
|
private java.lang.String pipelineName
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
private StageContext stage
The stage of the pipeline.
private ActionContext action
public void setPipelineName(java.lang.String pipelineName)
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
pipelineName
- The name of the pipeline. This is a user-specified value. Pipeline
names must be unique across all pipeline names under an Amazon Web
Services account.public java.lang.String getPipelineName()
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
public PipelineContext withPipelineName(java.lang.String pipelineName)
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
pipelineName
- The name of the pipeline. This is a user-specified value. Pipeline
names must be unique across all pipeline names under an Amazon Web
Services account.public void setStage(StageContext stage)
The stage of the pipeline.
stage
- The stage of the pipeline.public StageContext getStage()
The stage of the pipeline.
public PipelineContext withStage(StageContext stage)
The stage of the pipeline.
stage
- The stage of the pipeline.public void setAction(ActionContext action)
action
- public ActionContext getAction()
public PipelineContext withAction(ActionContext action)
action
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PipelineContext clone()
clone
in class java.lang.Object