Interface IConfirmationProvider
- 
- All Known Implementing Classes:
- InteractiveConfirmationProvider
 
 public interface IConfirmationProviderA provider of user confirmation of some action.- Since:
- 3.4
- Author:
- Christian W. Damus (CEA LIST)
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classIConfirmationProvider.Factorystatic interfaceIConfirmationProvider.Provider
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Confirmationconfirm(java.lang.String subject, java.lang.String message, java.util.Set<Confirmation> acceptable, Confirmation suggestion)Requests confirmation of some action/operation/consequence pertaining to asubjectand described by amessage.booleanisInteractive()
 
- 
- 
- 
Method Detail- 
confirmConfirmation confirm(java.lang.String subject, java.lang.String message, java.util.Set<Confirmation> acceptable, Confirmation suggestion) Requests confirmation of some action/operation/consequence pertaining to asubjectand described by amessage. Any of the non-empty set ofacceptableresponses may be returned, and the requester may optionally provide asuggestionof a suitable/safe default answer.
 - 
isInteractiveboolean isInteractive() 
 
- 
 
-