@Path(value="/hawkular/inventory/entity")
@Produces(value="application/json")
@Consumes(value="application/json")
public interface SingleEntityHandler
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createEntity(String path,
String type,
String at,
org.hawkular.inventory.api.model.AbstractElement.Blueprint entity) |
javax.ws.rs.core.Response |
deleteEntity(String path,
String at) |
javax.ws.rs.core.Response |
getEntity(String path,
String at) |
javax.ws.rs.core.Response |
getEntityHash(String path,
String at) |
javax.ws.rs.core.Response |
getHistory(String path,
String from,
String to) |
javax.ws.rs.core.Response |
updateEntity(String path,
String at,
org.hawkular.inventory.api.model.AbstractElement.Update update) |
@DELETE
@Path(value="/{path}")
javax.ws.rs.core.Response deleteEntity(@Encoded @PathParam(value="path")
String path,
@QueryParam(value="at")
String at)
@GET
@Path(value="/{path}")
javax.ws.rs.core.Response getEntity(@Encoded @PathParam(value="path")
String path,
@QueryParam(value="at")
String at)
@PUT
@Path(value="/{path}")
javax.ws.rs.core.Response updateEntity(@Encoded @PathParam(value="path")
String path,
@QueryParam(value="at")
String at,
org.hawkular.inventory.api.model.AbstractElement.Update update)
@GET
@Path(value="/{path}/history")
javax.ws.rs.core.Response getHistory(@Encoded @PathParam(value="path")
String path,
@QueryParam(value="from")
String from,
@QueryParam(value="to")
String to)
@GET
@Path(value="/{path}/treeHash")
javax.ws.rs.core.Response getEntityHash(@Encoded @PathParam(value="path")
String path,
@QueryParam(value="at")
String at)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.