Class ConfirmationChoice

  • All Implemented Interfaces:
    State

    public class ConfirmationChoice
    extends Object
    implements State
    State to display a message to the user with option to confirm a choice.

    This state handles either a yes or no outcome and will loop with an error on invalid input.