Package dev.rollczi.litecommands.flow
Interface Flow
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated.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 TypeMethodDescriptionstatic FlowDeprecated.Deprecated.@Nullable ObjectDeprecated.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 nullbooleanDeprecated.booleanDeprecated.booleanDeprecated.status()Deprecated.static FlowstopCurrentFlow(Object reason) Deprecated.static FlowterminateFlow(Object reason) Deprecated.
-
Method Details
-
status
Flow.Status status()Deprecated. -
isContinue
boolean isContinue()Deprecated. -
isStopCurrent
boolean isStopCurrent()Deprecated. -
isTerminate
boolean isTerminate()Deprecated. -
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. -
continueFlow
Deprecated. -
stopCurrentFlow
Deprecated. -
terminateFlow
Deprecated.
-