@Beta
public interface RebindExceptionHandler
onDone()
.
#onStart()
must be invoked before the run.
onDone()
must be invoked after a successful run, and it may throw.
Implementations may propagate errors or may catch them until onDone()
is invoked,
and that may throw or report elsewhere, as appropriate.
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Exception> |
getExceptions() |
java.util.List<java.lang.String> |
getWarnings() |
void |
onAddEnricherFailed(EntityLocal entity,
Enricher enricher,
java.lang.Exception e) |
void |
onAddFeedFailed(EntityLocal entity,
Feed feed,
java.lang.Exception e) |
void |
onAddPolicyFailed(EntityLocal entity,
Policy policy,
java.lang.Exception e) |
void |
onCreateFailed(BrooklynObjectType type,
java.lang.String id,
java.lang.String instanceType,
java.lang.Exception e) |
CatalogItem<?,?> |
onDanglingCatalogItemRef(java.lang.String id) |
Enricher |
onDanglingEnricherRef(java.lang.String id) |
Entity |
onDanglingEntityRef(java.lang.String id) |
Feed |
onDanglingFeedRef(java.lang.String id) |
Location |
onDanglingLocationRef(java.lang.String id) |
Policy |
onDanglingPolicyRef(java.lang.String id) |
void |
onDone()
invoked after the complete rebind pass, always on success and possibly on failure
|
java.lang.RuntimeException |
onFailed(java.lang.Exception e)
invoked for any high-level, unexpected, or otherwise uncaught failure;
may be invoked on catching above errors
|
void |
onLoadMementoFailed(BrooklynObjectType type,
java.lang.String msg,
java.lang.Exception e) |
void |
onManageFailed(BrooklynObjectType type,
BrooklynObject instance,
java.lang.Exception e) |
void |
onNotFound(BrooklynObjectType type,
java.lang.String id) |
void |
onRebindFailed(BrooklynObjectType type,
BrooklynObject instance,
java.lang.Exception e) |
void |
onStart(RebindContext context)
invoked before the rebind pass
|
void onLoadMementoFailed(BrooklynObjectType type, java.lang.String msg, java.lang.Exception e)
Entity onDanglingEntityRef(java.lang.String id)
Location onDanglingLocationRef(java.lang.String id)
Policy onDanglingPolicyRef(java.lang.String id)
Enricher onDanglingEnricherRef(java.lang.String id)
Feed onDanglingFeedRef(java.lang.String id)
CatalogItem<?,?> onDanglingCatalogItemRef(java.lang.String id)
void onCreateFailed(BrooklynObjectType type, java.lang.String id, java.lang.String instanceType, java.lang.Exception e)
void onNotFound(BrooklynObjectType type, java.lang.String id)
void onRebindFailed(BrooklynObjectType type, BrooklynObject instance, java.lang.Exception e)
void onAddPolicyFailed(EntityLocal entity, Policy policy, java.lang.Exception e)
void onAddEnricherFailed(EntityLocal entity, Enricher enricher, java.lang.Exception e)
void onAddFeedFailed(EntityLocal entity, Feed feed, java.lang.Exception e)
void onManageFailed(BrooklynObjectType type, BrooklynObject instance, java.lang.Exception e)
java.lang.RuntimeException onFailed(java.lang.Exception e)
void onStart(RebindContext context)
void onDone()
java.util.List<java.lang.Exception> getExceptions()
java.util.List<java.lang.String> getWarnings()