public class CompletionTemplate extends java.lang.Object implements CompletionOperations
CompletionOperations
part of the API.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> |
resources
Holds discovered URLs of the API.
|
protected org.springframework.web.client.RestTemplate |
restTemplate
A template used for http interaction.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
completions(CompletionKind kind,
java.lang.String start,
int lod)
Return the list of completions that are compatible with the given DSL prefix.
|
protected org.springframework.web.client.RestTemplate restTemplate
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> resources
public java.util.List<java.lang.String> completions(CompletionKind kind, java.lang.String start, int lod)
CompletionOperations
completions
in interface CompletionOperations
lod
- 1 based integer allowing progressive disclosure of more and more
complex completions