Class Confirmation


  • @Singleton
    public class Confirmation
    extends java.lang.Object
    • 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)