Class PipelineContext

java.lang.Object
com.amazonaws.services.codepipeline.model.PipelineContext
All Implemented Interfaces:
Serializable, Cloneable

public class PipelineContext extends Object implements Serializable, Cloneable

Represents information about a pipeline to a job worker.

See Also:
  • Constructor Details

    • PipelineContext

      public PipelineContext()
  • Method Details

    • setPipelineName

      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.

      Parameters:
      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.
    • getPipelineName

      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.

      Returns:
      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.
    • withPipelineName

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStage

      public void setStage(StageContext stage)

      The stage of the pipeline.

      Parameters:
      stage - The stage of the pipeline.
    • getStage

      public StageContext getStage()

      The stage of the pipeline.

      Returns:
      The stage of the pipeline.
    • withStage

      public PipelineContext withStage(StageContext stage)

      The stage of the pipeline.

      Parameters:
      stage - The stage of the pipeline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAction

      public void setAction(ActionContext action)
      Parameters:
      action -
    • getAction

      public ActionContext getAction()
      Returns:
    • withAction

      public PipelineContext withAction(ActionContext action)
      Parameters:
      action -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PipelineContext clone()
      Overrides:
      clone in class Object