@Path(value="/deprecated") @Produces(value="application/json") @Consumes(value="application/json") public class RestResourcesMetrics extends RestResources
| Constructor and Description |
|---|
RestResourcesMetrics() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
associateOrCreateMetrics(String environmentId,
String resourcePath,
Object metricPathsOrBlueprint,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
associateOrCreateMetricsUnderFeed(String feedId,
String resourcePath,
Object metricPathsOrBlueprint,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
disassociateMetric(String environmentId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
disassociateMetricF(String feedId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetric(String environmentId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetricF(String feedId,
String resourcePath,
String metricPath,
boolean isCanonical) |
javax.ws.rs.core.Response |
getAssociatedMetrics(String environmentID,
String resourcePath,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssociatedMetricsF(String feedId,
String resourcePath,
javax.ws.rs.core.UriInfo uriInfo) |
addFeedResource, addFeedResource, addResource, addResource, associateChildren, associateChildrenInFeed, composeCanonicalPath, deleteResource, deleteResourceInFeed, disassociateChild, disassociateChildInFeed, getChildren, getChildrenInFeed, getParent, getParentInFeed, getParents, getParentsInFeed, getRecursiveChildren, getRecursiveChildren, getResource, getResourceInFeed, getResources, getResources, update, updateInFeedcreate, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@POST
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response associateOrCreateMetrics(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
Object metricPathsOrBlueprint,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/feeds/{feedId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response associateOrCreateMetricsUnderFeed(@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
Object metricPathsOrBlueprint,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response getAssociatedMetrics(@PathParam(value="environmentId")
String environmentID,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/feeds/{feedId}/resources/{resourcePath:.+}/metrics")
public javax.ws.rs.core.Response getAssociatedMetricsF(@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response getAssociatedMetric(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@GET
@Path(value="/feeds/{feedId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response getAssociatedMetricF(@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@DELETE
@Path(value="/{environmentId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response disassociateMetric(@PathParam(value="environmentId")
String environmentId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
@DELETE
@Path(value="/feeds/{feedId}/resources/{resourcePath:.+}/metrics/{metricPath:.+}")
public javax.ws.rs.core.Response disassociateMetricF(@PathParam(value="feedId")
String feedId,
@Encoded @PathParam(value="resourcePath")
String resourcePath,
@Encoded @PathParam(value="metricPath")
String metricPath,
@QueryParam(value="canonical") @DefaultValue(value="false")
boolean isCanonical)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.