Class SearchFlowEntry

java.lang.Object
io.superdurable.dex.SearchFlowEntry

public final class SearchFlowEntry extends Object
Represents one Flow execution returned by a search query.

The entry is an immutable snapshot. Indexed Attribute values are decoded to their natural Java representations and exposed through an unmodifiable map keyed by index name.

  • 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 search result.
      Returns:
      the Flow status
    • getStartedAt

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

      public Instant getClosedAt()
      Returns when this Flow execution closed.
      Returns:
      the close timestamp, or null while the Flow is running
    • getIndexedAttributes

      public Map<String,Object> getIndexedAttributes()
      Returns decoded Indexed Attribute values for this execution.
      Returns:
      an unmodifiable map of index names to values