Class PipelineContext

    • Method Detail

      • pipelineName

        public final 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.

        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.
      • stage

        public final StageContext stage()

        The stage of the pipeline.

        Returns:
        The stage of the pipeline.
      • action

        public final ActionContext action()

        The context of an action to a job worker in the stage of a pipeline.

        Returns:
        The context of an action to a job worker in the stage of a pipeline.
      • pipelineArn

        public final String pipelineArn()

        The Amazon Resource Name (ARN) of the pipeline.

        Returns:
        The Amazon Resource Name (ARN) of the pipeline.
      • pipelineExecutionId

        public final String pipelineExecutionId()

        The execution ID of the pipeline.

        Returns:
        The execution ID of the pipeline.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)