public class LocationResource extends AbstractBrooklynRestResource implements LocationApi
DATE_FORMAT
Constructor and Description |
---|
LocationResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(LocationSpec locationSpec) |
void |
delete(java.lang.String locationId) |
LocationSummary |
get(java.lang.String locationId)
Deprecated.
since 0.7.0; REST call now handled by below (optional query parameter added)
|
LocationSummary |
get(java.lang.String locationId,
boolean fullConfig) |
LocationSummary |
get(java.lang.String locationId,
java.lang.String fullConfig) |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getLocatedLocations() |
java.util.List<LocationSummary> |
list() |
brooklyn, injectManagementContext, mgmt
public java.util.List<LocationSummary> list()
list
in interface LocationApi
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getLocatedLocations()
getLocatedLocations
in interface LocationApi
public LocationSummary get(java.lang.String locationId)
public LocationSummary get(java.lang.String locationId, java.lang.String fullConfig)
get
in interface LocationApi
public LocationSummary get(java.lang.String locationId, boolean fullConfig)
public javax.ws.rs.core.Response create(LocationSpec locationSpec)
create
in interface LocationApi
public void delete(java.lang.String locationId)
delete
in interface LocationApi