public interface IConfirmationProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
IConfirmationProvider.Factory |
static interface |
IConfirmationProvider.Provider |
| Modifier and Type | Method and Description |
|---|---|
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. |
boolean |
isInteractive() |
Confirmation confirm(String subject, String message, Set<Confirmation> acceptable, Confirmation suggestion)
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.boolean isInteractive()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.