Interface PropagationActions
-
- All Known Implementing Classes:
AzurePropagationActions
,DBPasswordPropagationActions
,GenerateRandomPasswordPropagationActions
,GoogleAppsPropagationActions
,LDAPMembershipPropagationActions
,LDAPPasswordPropagationActions
public interface PropagationActions
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
after(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, ConnectorObject afterObj)
Executes logic after actual propagation.default void
before(PropagationTaskInfo taskInfo)
Executes logic before actual propagation.default Set<String>
moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, OrgUnit orgUnit)
Return additional attributes to include in the result from the underlying connector.default Set<String>
moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, Provision provision)
Return additional attributes to include in the result from the underlying connector.default void
onError(PropagationTaskInfo taskInfo, TaskExec<PropagationTask> execution, Exception error)
Executes logic in case of propagation error.
-
-
-
Method Detail
-
moreAttrsToGet
default Set<String> moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, OrgUnit orgUnit)
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
default Set<String> moreAttrsToGet(Optional<PropagationTaskInfo> taskInfo, Provision provision)
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
default void before(PropagationTaskInfo taskInfo)
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 throwIgnoreProvisionException
to 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
-
-