Class UserNotificationWithFeedback.Feedback

  • Enclosing class:
    UserNotificationWithFeedback

    public static class UserNotificationWithFeedback.Feedback
    extends java.lang.Object
    This class provides a few callback methods to notify a choice from the user.
    • Constructor Summary

      Constructors 
      Constructor Description
      Feedback()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canCancel()
      Checks whether the current instance has a callback for cancellation.
      boolean canConfirm()
      Checks whether the current instance has a callback for confirmation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Feedback

        public Feedback()
    • Method Detail

      • canConfirm

        public boolean canConfirm()
        Checks whether the current instance has a callback for confirmation.
        Returns:
        true if the instance has the callback
        Since:
        3.2-ALPHA-1
      • canCancel

        public boolean canCancel()
        Checks whether the current instance has a callback for cancellation.
        Returns:
        true if the instance has the callback
        Since:
        3.2-ALPHA-1