Class InteractiveConfirmationProvider

    • Constructor Detail

      • InteractiveConfirmationProvider

        public InteractiveConfirmationProvider()
    • Method Detail

      • confirm

        public Confirmation confirm​(java.lang.String subject,
                                    java.lang.String message,
                                    java.util.Set<Confirmation> acceptable,
                                    Confirmation suggestion)
        Description copied from interface: IConfirmationProvider
        Requests confirmation of some action/operation/consequence pertaining to a subject and described by a message. Any of the non-empty set of acceptable responses may be returned, and the requester may optionally provide a suggestion of a suitable/safe default answer.
        Specified by:
        confirm in interface IConfirmationProvider