Class TestPullActions
- java.lang.Object
-
- org.apache.syncope.fit.core.reference.TestPullActions
-
- All Implemented Interfaces:
ProvisioningActions
,PullActions
public class TestPullActions extends Object implements PullActions
Test pull action.
-
-
Constructor Summary
Constructors Constructor Description TestPullActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeAssign(ProvisioningProfile<?,?> profile, SyncDelta delta, AnyCR anyCR)
Action to be executed before creating (and linking to the resource) a pulled entity locally.void
beforeProvision(ProvisioningProfile<?,?> profile, SyncDelta delta, AnyCR anyCR)
Action to be executed before to create a pulled entity locally.void
beforeUpdate(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entityTO, AnyUR anyUR)
Action to be executed before to update a pulled entity locally.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions
afterAll, beforeAll
-
Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.PullActions
after, beforeAssign, beforeAssign, beforeDelete, beforeDeprovision, beforeLink, beforeProvision, beforeProvision, beforeUnassign, beforeUnlink, moreAttrsToGet, moreAttrsToGet, onError, preprocess
-
-
-
-
Method Detail
-
beforeProvision
public void beforeProvision(ProvisioningProfile<?,?> profile, SyncDelta delta, AnyCR anyCR) throws org.quartz.JobExecutionException
Description copied from interface:PullActions
Action to be executed before to create a pulled entity locally. The entity is created locally upon pull in case of the un-matching ruleUnmatchingRule.PROVISION
(default un-matching rule) is applied.- Specified by:
beforeProvision
in interfacePullActions
- Parameters:
profile
- profile of the pull being executed.delta
- retrieved pull informationanyCR
- create request- Throws:
org.quartz.JobExecutionException
- in case of generic failure
-
beforeAssign
public void beforeAssign(ProvisioningProfile<?,?> profile, SyncDelta delta, AnyCR anyCR) throws org.quartz.JobExecutionException
Description copied from interface:PullActions
Action to be executed before creating (and linking to the resource) a pulled entity locally. The entity is created locally and linked to the pulled resource upon pull in case of the un-matching ruleUnmatchingRule.ASSIGN
is applied.- Specified by:
beforeAssign
in interfacePullActions
- Parameters:
profile
- profile of the pull being executed.delta
- retrieved pull informationanyCR
- create request- Throws:
org.quartz.JobExecutionException
- in case of generic failure
-
beforeUpdate
public void beforeUpdate(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entityTO, AnyUR anyUR) throws org.quartz.JobExecutionException
Description copied from interface:PullActions
Action to be executed before to update a pulled entity locally. The entity is updated upon pull in case of the matching ruleMatchingRule.UPDATE
(default matching rule) is applied.- Specified by:
beforeUpdate
in interfacePullActions
- Parameters:
profile
- profile of the pull being executed.delta
- retrieved pull informationentityTO
- entityanyUR
- modification- Throws:
org.quartz.JobExecutionException
- in case of generic failure.
-
-