Class Confirmation
- java.lang.Object
-
- com.djrapitops.plan.commands.subcommands.Confirmation
-
@Singleton public class Confirmation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Confirmation(Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
confirm(CMDSender sender, java.util.function.Consumer<java.lang.Boolean> confirmation)
void
onAcceptCommand(CMDSender sender)
void
onCancel(CMDSender sender)
void
onCancelCommand(CMDSender sender)
void
onConfirm(CMDSender sender)
-
-
-
Constructor Detail
-
Confirmation
@Inject public Confirmation(Locale locale)
-
-
Method Detail
-
confirm
public void confirm(CMDSender sender, java.util.function.Consumer<java.lang.Boolean> confirmation)
-
onConfirm
public void onConfirm(CMDSender sender)
-
onCancel
public void onCancel(CMDSender sender)
-
onAcceptCommand
public void onAcceptCommand(CMDSender sender)
-
onCancelCommand
public void onCancelCommand(CMDSender sender)
-
-