public static interface BrooklynMementoPersister.LookupContext
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextDescription() |
BrooklynObject |
lookup(BrooklynObjectType type,
java.lang.String objectId)
retrieve the item with the given ID, optionally ensuring it is of the indicated type; null if not found
|
ManagedBundle |
lookupBundle(java.lang.String id) |
CatalogItem<?,?> |
lookupCatalogItem(java.lang.String id) |
Enricher |
lookupEnricher(java.lang.String id) |
Entity |
lookupEntity(java.lang.String id) |
Feed |
lookupFeed(java.lang.String id) |
Location |
lookupLocation(java.lang.String id) |
ManagementContext |
lookupManagementContext() |
Policy |
lookupPolicy(java.lang.String id) |
BrooklynObject |
peek(BrooklynObjectType type,
java.lang.String objectId)
like
lookup(BrooklynObjectType, String) but doesn't record an exception if not found |
java.lang.String |
popContextDescription() |
void |
pushContextDescription(java.lang.String description) |
ManagementContext lookupManagementContext()
Entity lookupEntity(java.lang.String id)
Location lookupLocation(java.lang.String id)
Policy lookupPolicy(java.lang.String id)
Enricher lookupEnricher(java.lang.String id)
Feed lookupFeed(java.lang.String id)
CatalogItem<?,?> lookupCatalogItem(java.lang.String id)
ManagedBundle lookupBundle(java.lang.String id)
BrooklynObject lookup(@Nullable BrooklynObjectType type, java.lang.String objectId)
BrooklynObject peek(@Nullable BrooklynObjectType type, java.lang.String objectId)
lookup(BrooklynObjectType, String)
but doesn't record an exception if not foundjava.lang.String getContextDescription()
java.lang.String popContextDescription()
void pushContextDescription(java.lang.String description)