public class InteractiveConfirmationProvider extends java.lang.Object implements IConfirmationProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
InteractiveConfirmationProvider.Factory |
IConfirmationProvider.Provider| Constructor and Description |
|---|
InteractiveConfirmationProvider() |
| Modifier and Type | Method and Description |
|---|---|
Confirmation |
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 a
subject and described by a message. |
boolean |
isInteractive() |
public boolean isInteractive()
isInteractive in interface IConfirmationProviderpublic Confirmation confirm(java.lang.String subject, java.lang.String message, java.util.Set<Confirmation> acceptable, Confirmation suggestion)
IConfirmationProvidersubject 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.confirm in interface IConfirmationProviderCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html