public class CompletionTemplate extends Object implements CompletionOperations
CompletionOperations
that uses a RestTemplate
to
issue commands to the Data Flow server.Constructor and Description |
---|
CompletionTemplate(RestTemplate restTemplate,
org.springframework.hateoas.Link streamLink,
org.springframework.hateoas.Link taskLink) |
Modifier and Type | Method and Description |
---|---|
CompletionProposalsResource |
streamCompletions(String prefix,
int levelOfDetail)
Return the list of streamCompletions that are compatible with the given DSL prefix.
|
CompletionProposalsResource |
taskCompletions(String prefix,
int levelOfDetail)
Return the list of taskCompletions that are compatible with the given DSL prefix.
|
public CompletionTemplate(RestTemplate restTemplate, org.springframework.hateoas.Link streamLink, org.springframework.hateoas.Link taskLink)
public CompletionProposalsResource streamCompletions(String prefix, int levelOfDetail)
CompletionOperations
streamCompletions
in interface CompletionOperations
prefix
- the provided prefix value from DSLlevelOfDetail
- integer value that specifies the level of detail user wants in
stream completionspublic CompletionProposalsResource taskCompletions(String prefix, int levelOfDetail)
CompletionOperations
taskCompletions
in interface CompletionOperations
prefix
- the provided prefix value from DSLlevelOfDetail
- integer value that specifies the level of detail user wants in
task completionsCopyright © 2024 Pivotal Software, Inc.. All rights reserved.