Interface PropagationReporter
-
- All Known Implementing Classes:
DefaultPropagationReporter
public interface PropagationReporter
Report propagation status after executions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PropagationStatus>
getStatuses()
Returns the list of propagation statuses.void
onPriorityResourceFailure(String failingResource, Collection<PropagationTaskInfo> taskInfos)
Report propagation status after executions in case blocking failure (e.g. on priority resources).void
onSuccessOrNonPriorityResourceFailures(PropagationTaskInfo taskInfo, ExecStatus execStatus, String failureReason, String fiql, ConnectorObject beforeObj, ConnectorObject afterObj)
Report propagation status after executions in case of success or non-blocking failure (e.g. on non-priority resources).
-
-
-
Method Detail
-
onPriorityResourceFailure
void onPriorityResourceFailure(String failingResource, Collection<PropagationTaskInfo> taskInfos)
Report propagation status after executions in case blocking failure (e.g. on priority resources).- Parameters:
failingResource
- failing resource nametaskInfos
- propagation tasks performed before failure
-
onSuccessOrNonPriorityResourceFailures
void onSuccessOrNonPriorityResourceFailures(PropagationTaskInfo taskInfo, ExecStatus execStatus, String failureReason, String fiql, ConnectorObject beforeObj, ConnectorObject afterObj)
Report propagation status after executions in case of success or non-blocking failure (e.g. on non-priority resources).- Parameters:
taskInfo
- propagation taskexecStatus
- propagation execution statusfailureReason
- propagation execution failure messagefiql
- FIQL string to match the connector objects into the external resourcebeforeObj
- retrieved connector object before operation executionafterObj
- retrieved connector object after operation execution
-
getStatuses
List<PropagationStatus> getStatuses()
Returns the list of propagation statuses.- Returns:
- the list of propagation statuses
-
-