Interface PropagationActions
- All Known Implementing Classes:
AzurePropagationActions,DBPasswordPropagationActions,GenerateRandomPasswordPropagationActions,GoogleAppsPropagationActions,LDAPMembershipPropagationActions,LDAPPasswordPropagationActions
public interface PropagationActions
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafter(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, ConnectorObject afterObj) Executes logic after actual propagation.default voidbefore(PropagationTaskInfo taskInfo) Executes logic before actual propagation.moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, OrgUnit orgUnit) Return additional attributes to include in the result from the underlying connector.moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, Provision provision) Return additional attributes to include in the result from the underlying connector.default voidonError(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, Exception error) Executes logic in case of propagation error.
-
Method Details
-
moreAttrsToGet
Return additional attributes to include in the result from the underlying connector.- Parameters:
taskInfo- propagation taskorgUnit- Realm provisioning information- Returns:
- additional attributes to include in the result from the underlying connector
-
moreAttrsToGet
Return additional attributes to include in the result from the underlying connector.- Parameters:
taskInfo- propagation taskprovision- Any provisioning information- Returns:
- additional attributes to include in the result from the underlying connector
-
before
Executes logic before actual propagation.- Parameters:
taskInfo- propagation task
-
onError
default void onError(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, Exception error) Executes logic in case of propagation error. This method can throwIgnoreProvisionExceptionto ignore the reported error and continue.- Parameters:
taskInfo- propagation taskexecution- execution resulterror- propagation error
-
after
default void after(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, ConnectorObject afterObj) Executes logic after actual propagation.- Parameters:
taskInfo- propagation taskexecution- execution resultafterObj- connector object read after propagation
-