|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface LocationManager
For managing and querying entities.
Method Summary | |
---|---|
java.lang.Object
|
createLocation(LocationSpec spec)
Creates a new location, which is tracked by the management context. |
java.lang.Object
|
createLocation(java.util.Map config, java.lang.Class type)
Convenience (particularly for groovy code) to create a location. |
Location
|
getLocation(java.lang.String id)
Returns the location under management (e.g. in use) with the given identifier (e.g. random string; and different to the LocationDefinition id). |
java.util.Collection
|
getLocations()
All locations under control of this management plane. |
boolean
|
isManaged(Location loc)
whether the location is under management by this management context |
Location
|
manage(Location loc)
Begins management for the given location and its children, recursively. |
void
|
unmanage(Location loc)
Causes the given location and its children, recursively, to be removed from the management plane (for instance because the location is no longer relevant). |
Method Detail |
---|
public java.lang.Object createLocation(LocationSpec spec)
public java.lang.Object createLocation(java.util.Map config, java.lang.Class type)
public Location getLocation(java.lang.String id)
public java.util.Collection getLocations()
public boolean isManaged(Location loc)
public Location manage(Location loc)
public void unmanage(Location loc)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.