Class CompletionProposal.Factory
java.lang.Object
org.springframework.cloud.dataflow.completion.CompletionProposal.Factory
- Enclosing class:
- CompletionProposal
-
Method Summary
Modifier and TypeMethodDescriptionwithSeparateTokens
(String suffix) Add a suffix as a new token, that is, make sure there is a space before it.withSeparateTokens
(String suffix, String explanation) Add a suffix as a new token, that is, make sure there is a space before it.withSuffix
(String suffix) withSuffix
(String suffix, String explanation)
-
Method Details
-
withSuffix
-
withSuffix
-
withSeparateTokens
Add a suffix as a new token, that is, make sure there is a space before it.A space is not appended if this is the very first token.
- Parameters:
suffix
- the suffix to addexplanation
- the explanation of how to complete the text- Returns:
- the new instance of a completion proposal
-
withSeparateTokens
Add a suffix as a new token, that is, make sure there is a space before it.A space is not appended if this is the very first token.
- Parameters:
suffix
- the suffix to add- Returns:
- a new completion proposal
-