public class ConfirmationPrompt extends Object
Constructor and Description |
---|
ConfirmationPrompt(String subject,
String message,
Confirmation suggestedResponse,
Collection<Confirmation> acceptableResponses) |
ConfirmationPrompt(String subject,
String message,
Confirmation suggestedResponse,
Confirmation acceptableResponse,
Confirmation... more) |
Modifier and Type | Method and Description |
---|---|
Set<Confirmation> |
getAcceptableResponses() |
String |
getMessage() |
String |
getSubject() |
Confirmation |
getSuggestedResponse() |
static ConfirmationPrompt |
read(ExtendedDataInput in) |
void |
write(ExtendedDataOutput out) |
public ConfirmationPrompt(String subject, String message, Confirmation suggestedResponse, Confirmation acceptableResponse, Confirmation... more)
public ConfirmationPrompt(String subject, String message, Confirmation suggestedResponse, Collection<Confirmation> acceptableResponses)
public String getSubject()
public String getMessage()
public Set<Confirmation> getAcceptableResponses()
public Confirmation getSuggestedResponse()
public void write(ExtendedDataOutput out) throws IOException
IOException
public static ConfirmationPrompt read(ExtendedDataInput in) throws IOException
IOException
Copyright (c) 2014 Eike Stepper (Berlin, 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