Package org.incendo.cloud.suggestion
Interface Suggestion
-
Method Summary
Modifier and TypeMethodDescriptionReturns a string representation of this suggestion, which can be parsed by the parser that suggested itstatic @NonNull Suggestionsuggestion(@NonNull String suggestion) Returns a simple suggestion that returns the givensuggestionwithSuggestion(@NonNull String suggestion) Returns a copy of this suggestion instance using the givensuggestion
-
Method Details
-
suggestion
Returns a simple suggestion that returns the givensuggestion- Parameters:
suggestion- the suggestion string- Returns:
- the created suggestion
-
suggestion
Returns a string representation of this suggestion, which can be parsed by the parser that suggested it- Returns:
- the suggestions
-
withSuggestion
Returns a copy of this suggestion instance using the givensuggestion- Parameters:
suggestion- the suggestion string- Returns:
- the new suggestion
-