public class Feedback extends Object
| Constructor and Description |
|---|
Feedback(Configuration configuration,
String result) |
Feedback(Configuration configuration,
String result,
String warning,
String... suggestions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResult() |
List<String> |
getSuggestion() |
List<String> |
getSuggestionKeys()
Get the raw untranslated suggestion keys.
|
String |
getWarning() |
String |
getWarningKey()
Get the raw untranslated warning key.
|
public Feedback(Configuration configuration, String result)
configuration - the Configuration object.result - the primary message to display.public Feedback(Configuration configuration, String result, String warning, String... suggestions)
configuration - the Configuration object.result - the primary message to display.warning - warning stringsuggestions - suggestionspublic String getResult()
public String getWarningKey()
public String getWarning()
public List<String> getSuggestionKeys()
Copyright © 2018. All rights reserved.