Class FlowInfo

java.lang.Object
io.superdurable.dex.FlowInfo

public final class FlowInfo extends Object
Describes the identity and current status of one Flow execution.

Obtain this immutable snapshot from Client.describeFlow(String). A later request may observe a different status while the Flow continues to run.

  • Method Details

    • getFlowId

      public String getFlowId()
      Returns the application-assigned Flow ID.
      Returns:
      the Flow ID
    • getRunId

      public String getRunId()
      Returns the server-assigned run ID.
      Returns:
      the run ID
    • getFlowType

      public String getFlowType()
      Returns the registered Flow type.
      Returns:
      the Flow type
    • getStatus

      public FlowStatus getStatus()
      Returns the status captured by this snapshot.
      Returns:
      the Flow status
    • getStartedAt

      public Instant getStartedAt()
      Returns when this Flow execution started.
      Returns:
      the start timestamp