@ApiStatus.Experimental
public class CandidateExecutorFoundEvent<SENDER>
extends java.lang.Object
| Constructor and Description |
|---|
CandidateExecutorFoundEvent(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) |
public CandidateExecutorFoundEvent(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>