Package com.mrivanplays.jdcf.builtin
Class DefaultFailReasonHandler
- java.lang.Object
-
- com.mrivanplays.jdcf.builtin.DefaultFailReasonHandler
-
- All Implemented Interfaces:
FailReasonHandler
public class DefaultFailReasonHandler extends java.lang.Object implements FailReasonHandler
Represents the default fail reason handler.- See Also:
FailReasonHandler
-
-
Constructor Summary
Constructors Constructor Description DefaultFailReasonHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public 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.- Specified by:
handleFailReason
in interfaceFailReasonHandler
- Parameters:
context
- command contextfailReason
- fail reasonargument
- raw string argument, if present
-
-