Package com.mrivanplays.jdcf.args
Interface FailReasonHandler
-
- All Known Implementing Classes:
DefaultFailReasonHandler
public interface FailReasonHandler
Represents aFailReason
handler, which will be applied on every command argument, if so no handling was applied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleFailReason(@NotNull CommandExecutionContext context, @NotNull FailReason failReason, @Nullable java.lang.String argument)
Method which will be called to every argument fail reason.
-
-
-
Method Detail
-
handleFailReason
void handleFailReason(@NotNull @NotNull CommandExecutionContext context, @NotNull @NotNull FailReason failReason, @Nullable @Nullable java.lang.String argument)
Method which will be called to every argument fail reason.- Parameters:
context
- command contextfailReason
- fail reasonargument
- raw string argument, if present
-
-