Interface Flow


@Deprecated public interface Flow
Deprecated.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Deprecated.
    Flow status CONTINUE - continue current flow STOPPED - stop current flow and continue next flow TERMINATED - stop current flow and stop next flow
  • Method Summary

    Modifier and Type
    Method
    Description
    static Flow
    Deprecated.
     
    Deprecated.
     
    @Nullable Object
    Deprecated.
    Reason why flow was stopped or terminated if flow is CONTINUE then reason is null if flow is STOP_CURRENT or TERMINATED then reason is not null
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    Deprecated.
     
    static Flow
    Deprecated.
     
    static Flow
    Deprecated.
     
  • Method Details

    • status

      Flow.Status status()
      Deprecated.
    • isContinue

      boolean isContinue()
      Deprecated.
    • isStopCurrent

      boolean isStopCurrent()
      Deprecated.
    • isTerminate

      boolean isTerminate()
      Deprecated.
    • getReason

      @Nullable @Nullable Object getReason()
      Deprecated.
      Reason why flow was stopped or terminated if flow is CONTINUE then reason is null if flow is STOP_CURRENT or TERMINATED then reason is not null
      Returns:
      reason
    • failedReason

      FailedReason failedReason()
      Deprecated.
    • hasReason

      boolean hasReason()
      Deprecated.
    • continueFlow

      static Flow continueFlow()
      Deprecated.
    • stopCurrentFlow

      static Flow stopCurrentFlow(Object reason)
      Deprecated.
    • terminateFlow

      static Flow terminateFlow(Object reason)
      Deprecated.