public class FieldValueCounterTemplate extends java.lang.Object implements FieldValueCounterOperations
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.
|
Constructor and Description |
---|
FieldValueCounterTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String name)
Delete the given named field value counter
|
org.springframework.hateoas.PagedResources<MetricResource> |
list()
Retrieve basic information (i.e.
|
FieldValueCounterResource |
retrieve(java.lang.String name)
Retrieve information about the given named field value counter.
|
protected org.springframework.web.client.RestTemplate restTemplate
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> resources
public FieldValueCounterTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate)
public FieldValueCounterResource retrieve(java.lang.String name)
FieldValueCounterOperations
retrieve
in interface FieldValueCounterOperations
public org.springframework.hateoas.PagedResources<MetricResource> list()
FieldValueCounterOperations
list
in interface FieldValueCounterOperations
public void delete(java.lang.String name)
FieldValueCounterOperations
delete
in interface FieldValueCounterOperations
name
- the name of the field value counter to delete