public class EntityResource extends AbstractBrooklynRestResource implements EntityApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
EntityResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addChildren(java.lang.String applicationToken,
java.lang.String entityToken,
java.lang.Boolean start,
java.lang.String timeoutS,
java.lang.String yaml) |
javax.ws.rs.core.Response |
expunge(java.lang.String application,
java.lang.String entity,
boolean release) |
EntitySummary |
get(java.lang.String application,
java.lang.String entityName) |
java.util.List<EntitySummary> |
getChildren(java.lang.String application,
java.lang.String entity) |
java.util.List<EntitySummary> |
getChildrenOld(java.lang.String application,
java.lang.String entity) |
java.util.List<EntitySummary> |
getDescendants(java.lang.String application,
java.lang.String entity,
java.lang.String typeRegex) |
java.util.Map<java.lang.String,java.lang.Object> |
getDescendantsSensor(java.lang.String application,
java.lang.String entity,
java.lang.String sensor,
java.lang.String typeRegex) |
javax.ws.rs.core.Response |
getIcon(java.lang.String applicationId,
java.lang.String entityId) |
java.util.List<LocationSummary> |
getLocations(java.lang.String application,
java.lang.String entity) |
java.lang.String |
getSpec(java.lang.String applicationToken,
java.lang.String entityToken) |
TaskSummary |
getTask(java.lang.String application,
java.lang.String entityToken,
java.lang.String taskId) |
java.util.List<EntitySummary> |
list(java.lang.String application) |
java.util.List<java.lang.Object> |
listTags(java.lang.String applicationId,
java.lang.String entityId) |
java.util.List<TaskSummary> |
listTasks(java.lang.String applicationId,
java.lang.String entityId) |
javax.ws.rs.core.Response |
rename(java.lang.String application,
java.lang.String entity,
java.lang.String newName) |
brooklyn, injectManagementContext, mgmt
public java.util.List<EntitySummary> list(java.lang.String application)
public EntitySummary get(java.lang.String application, java.lang.String entityName)
public java.util.List<EntitySummary> getChildren(java.lang.String application, java.lang.String entity)
getChildren
in interface EntityApi
public java.util.List<EntitySummary> getChildrenOld(java.lang.String application, java.lang.String entity)
getChildrenOld
in interface EntityApi
public javax.ws.rs.core.Response addChildren(java.lang.String applicationToken, java.lang.String entityToken, java.lang.Boolean start, java.lang.String timeoutS, java.lang.String yaml)
addChildren
in interface EntityApi
public java.util.List<TaskSummary> listTasks(java.lang.String applicationId, java.lang.String entityId)
public TaskSummary getTask(java.lang.String application, java.lang.String entityToken, java.lang.String taskId)
public java.util.List<java.lang.Object> listTags(java.lang.String applicationId, java.lang.String entityId)
public javax.ws.rs.core.Response getIcon(java.lang.String applicationId, java.lang.String entityId)
public javax.ws.rs.core.Response rename(java.lang.String application, java.lang.String entity, java.lang.String newName)
public javax.ws.rs.core.Response expunge(java.lang.String application, java.lang.String entity, boolean release)
public java.util.List<EntitySummary> getDescendants(java.lang.String application, java.lang.String entity, java.lang.String typeRegex)
getDescendants
in interface EntityApi
public java.util.Map<java.lang.String,java.lang.Object> getDescendantsSensor(java.lang.String application, java.lang.String entity, java.lang.String sensor, java.lang.String typeRegex)
getDescendantsSensor
in interface EntityApi
public java.util.List<LocationSummary> getLocations(java.lang.String application, java.lang.String entity)
getLocations
in interface EntityApi