public class PipelineContext extends Object implements Serializable, Cloneable
Represents information about a pipeline to a job worker.
Constructor and Description |
---|
PipelineContext() |
Modifier and Type | Method and Description |
---|---|
PipelineContext |
clone() |
boolean |
equals(Object obj) |
ActionContext |
getAction() |
String |
getPipelineName()
The name of the pipeline.
|
StageContext |
getStage()
The stage of the pipeline.
|
int |
hashCode() |
void |
setAction(ActionContext action) |
void |
setPipelineName(String pipelineName)
The name of the pipeline.
|
void |
setStage(StageContext stage)
The stage of the pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineContext |
withAction(ActionContext action) |
PipelineContext |
withPipelineName(String pipelineName)
The name of the pipeline.
|
PipelineContext |
withStage(StageContext stage)
The stage of the pipeline.
|
public void setPipelineName(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 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(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 String toString()
toString
in class Object
Object.toString()
public PipelineContext clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.