|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocationManager
For managing and querying entities.
| Method Summary | ||
|---|---|---|
|
createLocation(LocationSpec<T> spec)
Creates a new location, which is tracked by the management context. |
|
|
createLocation(Map<?,?> config,
Class<T> type)
Convenience (particularly for groovy code) to create a location. |
|
Location |
getLocation(String id)
Returns the location under management (e.g. |
|
Collection<Location> |
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)
Deprecated. in 0.6.0; use createLocation(LocationSpec) instead. |
|
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 |
|---|
<T extends Location> T createLocation(LocationSpec<T> spec)
spec -
<T extends Location> T createLocation(Map<?,?> config,
Class<T> type)
createLocation(LocationSpec.create(type).configure(config))
createLocation(LocationSpec)Collection<Location> getLocations()
Location getLocation(String id)
boolean isManaged(Location loc)
Location manage(Location loc)
createLocation(LocationSpec) instead.
void unmanage(Location loc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||