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) 2011-2014 Eike Stepper (Berlin, Germany) and others.