public interface PullActions extends ProvisioningActions
IgnoreProvisionException
to make the current any object ignored by the pull
process.Modifier and Type | Method and Description |
---|---|
default void |
after(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity,
ProvisioningReport result)
Action to be executed after each local entity pull.
|
default void |
beforeAssign(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before creating (and linking to the resource) a pulled entity locally.
|
default void |
beforeDelete(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before to delete a pulled entity locally.
|
default void |
beforeDeprovision(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before de-provisioning action only.
|
default void |
beforeLink(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before linking resource to the pulled entity.
|
default void |
beforeProvision(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before to create a pulled entity locally.
|
default void |
beforeUnassign(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before unlinking resource from the pulled entity and de-provisioning.
|
default void |
beforeUnlink(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity)
Action to be executed before unlinking resource from the pulled entity.
|
default <P extends AnyPatch> |
beforeUpdate(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity,
P anyPatch)
Action to be executed before to update a pulled entity locally.
|
default Set<String> |
moreAttrsToGet(ProvisioningProfile<?,?> profile,
OrgUnit orgUnit)
Return additional attributes to include in the result from the underlying connector.
|
default Set<String> |
moreAttrsToGet(ProvisioningProfile<?,?> profile,
Provision provision)
Return additional attributes to include in the result from the underlying connector.
|
default IgnoreProvisionException |
onError(ProvisioningProfile<?,?> profile,
SyncDelta delta,
Exception e)
Action to be executed in case an exception is thrown during pull.
|
default SyncDelta |
preprocess(ProvisioningProfile<?,?> profile,
SyncDelta delta)
Pre-process the pull information received by the underlying connector, before any internal activity occurs.
|
afterAll, beforeAll
default Set<String> moreAttrsToGet(ProvisioningProfile<?,?> profile, OrgUnit orgUnit)
profile
- profile of the pull being executed.orgUnit
- Realm provisioning informationdefault Set<String> moreAttrsToGet(ProvisioningProfile<?,?> profile, Provision provision)
profile
- profile of the pull being executed.provision
- Any provisioning informationdefault SyncDelta preprocess(ProvisioningProfile<?,?> profile, SyncDelta delta)
profile
- profile of the pull being executed.delta
- retrieved pull informationdefault void beforeProvision(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
UnmatchingRule.PROVISION
(default un-matching rule) is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void beforeAssign(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
UnmatchingRule.ASSIGN
is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void beforeUnassign(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
MatchingRule.UNASSIGN
is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void beforeDeprovision(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
MatchingRule.DEPROVISION
is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void beforeUnlink(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
MatchingRule.UNLINK
is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void beforeLink(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
MatchingRule.LINK
is applied.profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault <P extends AnyPatch> void beforeUpdate(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity, P anyPatch) throws org.quartz.JobExecutionException
MatchingRule.UPDATE
(default matching rule) is applied.P
- any object modificationsprofile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityanyPatch
- modificationorg.quartz.JobExecutionException
- in case of generic failure.default void beforeDelete(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity) throws org.quartz.JobExecutionException
profile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityorg.quartz.JobExecutionException
- in case of generic failuredefault void after(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity, ProvisioningReport result) throws org.quartz.JobExecutionException
profile
- profile of the pull being executed.delta
- retrieved pull information (may be modified by beforeProvision / beforeUpdate /
beforeDelete)entity
- entityresult
- global pull results at the current pull steporg.quartz.JobExecutionException
- in case of generic failuredefault IgnoreProvisionException onError(ProvisioningProfile<?,?> profile, SyncDelta delta, Exception e) throws org.quartz.JobExecutionException
profile
- profile of the pull being executed.delta
- retrieved pull information (may be modified by beforeProvision / beforeUpdate /
beforeDelete)e
- the exception thrownNULL
otherwiseorg.quartz.JobExecutionException
- in case of generic failureCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.