Class TestPullActions

    • Constructor Detail

      • TestPullActions

        public TestPullActions()
    • 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 rule UnmatchingRule.PROVISION (default un-matching rule) is applied.
        Specified by:
        beforeProvision in interface PullActions
        Parameters:
        profile - profile of the pull being executed.
        delta - retrieved pull information
        anyCR - 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 rule UnmatchingRule.ASSIGN is applied.
        Specified by:
        beforeAssign in interface PullActions
        Parameters:
        profile - profile of the pull being executed.
        delta - retrieved pull information
        anyCR - 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 rule MatchingRule.UPDATE (default matching rule) is applied.
        Specified by:
        beforeUpdate in interface PullActions
        Parameters:
        profile - profile of the pull being executed.
        delta - retrieved pull information
        entityTO - entity
        anyUR - modification
        Throws:
        org.quartz.JobExecutionException - in case of generic failure.