Class ExtractStepRun

  • All Implemented Interfaces:
    IStepRunBase

    public final class ExtractStepRun
    extends java.lang.Object
    implements IStepRunBase
    • Method Detail

      • getObject

        public java.lang.String getObject()
        Specified by:
        getObject in interface IStepRunBase
        Returns:
        The type of object. In this case, it will always be "workflow_step_run".
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface IStepRunBase
        Returns:
        The ID of the workflow step run.

        Example: "workflow_step_run_xKm9pNv3qWsY_jL2tR5Dh"

      • getWorkflowRunId

        public java.lang.String getWorkflowRunId()
        Specified by:
        getWorkflowRunId in interface IStepRunBase
        Returns:
        The ID of the parent workflow run.

        Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"

      • getStatus

        public StepRunBaseStatus getStatus()
        Specified by:
        getStatus in interface IStepRunBase
        Returns:
        The status of the workflow step run:
        • "PENDING" - The step run is waiting to be executed
        • "WAITING" - The step run is waiting for a dependency to complete
        • "PROCESSING" - The step run is currently executing
        • "PROCESSED" - The step run completed successfully
        • "FAILED" - The step run encountered an error
        • "CANCELLED" - The step run was cancelled
      • getFiles

        public java.util.List<FileSummary> getFiles()
        Specified by:
        getFiles in interface IStepRunBase
        Returns:
        The files associated with this step run.
      • getResult

        public java.util.Optional<ExtractResult> getResult()
        Returns:
        The result of this extract step. Currently, result is always present for returned step runs. It is nullable to allow for future support of returning step runs with non-successful statuses.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object