public class ApplicationResource extends AbstractBrooklynRestResource implements ApplicationApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
ApplicationResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createFromForm(java.lang.String contents) |
javax.ws.rs.core.Response |
createFromYaml(java.lang.String yaml) |
javax.ws.rs.core.Response |
createFromYamlWithAppId(java.lang.String yaml,
java.lang.String appId) |
javax.ws.rs.core.Response |
createPoly(byte[] inputToAutodetectType) |
javax.ws.rs.core.Response |
delete(java.lang.String application) |
java.util.List<EntitySummary> |
details(java.lang.String entityIds,
boolean includeAllApps,
java.lang.String extraSensorsGlobsS,
java.lang.String extraConfigGlobsS,
int depth) |
java.util.List<EntityDetail> |
fetch(java.lang.String entityIds,
java.lang.String extraSensorsS) |
ApplicationSummary |
get(java.lang.String application) |
java.util.List<EntitySummary> |
getDescendants(java.lang.String application,
java.lang.String typeRegex) |
java.util.Map<java.lang.String,java.lang.Object> |
getDescendantsSensor(java.lang.String application,
java.lang.String sensor,
java.lang.String typeRegex) |
static java.util.Map<java.lang.String,java.lang.Object> |
getSensorMap(java.lang.String sensor,
java.lang.Iterable<Entity> descs) |
java.util.List<ApplicationSummary> |
list(java.lang.String typeRegex) |
brooklyn, mgmt, mgmtInternal, setManagementContext
public java.util.List<EntityDetail> fetch(java.lang.String entityIds, java.lang.String extraSensorsS)
fetch
in interface ApplicationApi
public java.util.List<EntitySummary> details(java.lang.String entityIds, boolean includeAllApps, java.lang.String extraSensorsGlobsS, java.lang.String extraConfigGlobsS, int depth)
details
in interface ApplicationApi
public java.util.List<ApplicationSummary> list(java.lang.String typeRegex)
list
in interface ApplicationApi
public ApplicationSummary get(java.lang.String application)
get
in interface ApplicationApi
public javax.ws.rs.core.Response createFromYaml(java.lang.String yaml)
createFromYaml
in interface ApplicationApi
public javax.ws.rs.core.Response createFromYamlWithAppId(java.lang.String yaml, java.lang.String appId)
createFromYamlWithAppId
in interface ApplicationApi
public javax.ws.rs.core.Response createPoly(byte[] inputToAutodetectType)
createPoly
in interface ApplicationApi
public javax.ws.rs.core.Response createFromForm(java.lang.String contents)
createFromForm
in interface ApplicationApi
public javax.ws.rs.core.Response delete(java.lang.String application)
delete
in interface ApplicationApi
public java.util.List<EntitySummary> getDescendants(java.lang.String application, java.lang.String typeRegex)
getDescendants
in interface ApplicationApi
public java.util.Map<java.lang.String,java.lang.Object> getDescendantsSensor(java.lang.String application, java.lang.String sensor, java.lang.String typeRegex)
getDescendantsSensor
in interface ApplicationApi
public static java.util.Map<java.lang.String,java.lang.Object> getSensorMap(java.lang.String sensor, java.lang.Iterable<Entity> descs)