Interface IConfirmationProvider

All Known Implementing Classes:
InteractiveConfirmationProvider

public interface IConfirmationProvider
A provider of user confirmation of some action.
Since:
3.4
Author:
Christian W. Damus (CEA LIST)
  • Method Details

    • confirm

      Confirmation confirm(String subject, String message, Set<Confirmation> acceptable, Confirmation suggestion)
      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.
    • isInteractive

      boolean isInteractive()