@Path(value="/deprecated") @Produces(value="application/json") @Consumes(value="application/json") public class RestResourceTypesMetricTypes extends RestBase
| Constructor and Description |
|---|
RestResourceTypesMetricTypes() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
associateMetricTypes(String resourceTypeId,
Collection<String> metricTypePaths) |
javax.ws.rs.core.Response |
associateMetricTypes(String feedId,
String resourceTypeId,
Collection<String> metricTypePaths) |
javax.ws.rs.core.Response |
disassociateMetricType(String resourceTypeId,
String metricTypePath,
boolean isCanonical) |
javax.ws.rs.core.Response |
disassociateMetricType(String feedId,
String resourceTypeId,
String metricTypePath,
boolean isCanonical) |
MetricType |
getAssociatedMetricType(String resourceTypeId,
String metricTypePath,
boolean isCanonical) |
MetricType |
getAssociatedMetricType(String feedId,
String resourceTypeId,
String metricTypePath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetricTypes(String feedId,
String resourceTypeId,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssociatedMetricTypes(String resourceTypeId,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getMetricTypes(String feedId,
String resourceTypeId,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getMetricTypes(String resourceTypeId,
javax.ws.rs.core.UriInfo uriInfo) |
create, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@GET
@Path(value="/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response getMetricTypes(@PathParam(value="resourceTypeId")
String resourceTypeId,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response associateMetricTypes(@PathParam(value="resourceTypeId")
String resourceTypeId,
Collection<String> metricTypePaths)
@GET
@Path(value="/resourceTypes/{resourceTypeId}/metricTypes/{metricTypePath:.+}")
public MetricType getAssociatedMetricType(@PathParam(value="resourceTypeId")
String resourceTypeId,
@Encoded @PathParam(value="metricTypePath")
String metricTypePath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@GET
@Path(value="/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response getAssociatedMetricTypes(@PathParam(value="resourceTypeId")
String resourceTypeId,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@DELETE
@Path(value="/resourceTypes/{resourceTypeId}/metricTypes/{metricTypePath:.+}")
public javax.ws.rs.core.Response disassociateMetricType(@PathParam(value="resourceTypeId")
String resourceTypeId,
@Encoded @PathParam(value="metricTypePath")
String metricTypePath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@GET
@Path(value="/feeds/{feedId}/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response getMetricTypes(@PathParam(value="feedId")
String feedId,
@PathParam(value="resourceTypeId")
String resourceTypeId,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/feeds/{feedId}/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response associateMetricTypes(@PathParam(value="feedId")
String feedId,
@PathParam(value="resourceTypeId")
String resourceTypeId,
Collection<String> metricTypePaths)
@GET
@Path(value="/feeds/{feedId}/resourceTypes/{resourceTypeId}/metricTypes/{metricTypePath:.+}")
public MetricType getAssociatedMetricType(@PathParam(value="feedId")
String feedId,
@PathParam(value="resourceTypeId")
String resourceTypeId,
@Encoded @PathParam(value="metricTypePath")
String metricTypePath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@GET
@Path(value="/feeds/{feedId}/resourceTypes/{resourceTypeId}/metricTypes")
public javax.ws.rs.core.Response getAssociatedMetricTypes(@PathParam(value="feedId")
String feedId,
@PathParam(value="resourceTypeId")
String resourceTypeId,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@DELETE
@Path(value="/feeds/{feedId}/resourceTypes/{resourceTypeId}/metricTypes/{metricTypePath:.+}")
public javax.ws.rs.core.Response disassociateMetricType(@PathParam(value="feedId")
String feedId,
@PathParam(value="resourceTypeId")
String resourceTypeId,
@Encoded @PathParam(value="metricTypePath")
String metricTypePath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.