@ApiStatus.Experimental public class CommandPreExecutionEvent<SENDER> extends java.lang.Object implements CommandExecutorEvent<SENDER>
| Constructor and Description |
|---|
CommandPreExecutionEvent(Invocation<SENDER> invocation,
CommandExecutor<SENDER> executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
continueFlow() |
CommandExecutor<SENDER> |
getExecutor() |
ExecuteFlow |
getFlow() |
@Nullable FailedReason |
getFlowResult() |
Invocation<SENDER> |
getInvocation() |
void |
skipFlow(FailedReason reason) |
void |
stopFlow(FailedReason reason) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutor, getInvocationpublic CommandPreExecutionEvent(Invocation<SENDER> invocation, CommandExecutor<SENDER> executor)
public Invocation<SENDER> getInvocation()
getInvocation in interface CommandExecutorEvent<SENDER>public CommandExecutor<SENDER> getExecutor()
getExecutor in interface CommandExecutorEvent<SENDER>public ExecuteFlow getFlow()
getFlow in interface ExecuteFlowEvent<FailedReason>@Nullable public @Nullable FailedReason getFlowResult()
getFlowResult in interface ExecuteFlowEvent<FailedReason>public void continueFlow()
continueFlow in interface ExecuteFlowEvent<FailedReason>public void stopFlow(FailedReason reason)
stopFlow in interface ExecuteFlowEvent<FailedReason>public void skipFlow(FailedReason reason)
skipFlow in interface ExecuteFlowEvent<FailedReason>