Package icc.util

Class LeanixWorkgroupsCleanupTaskHelper


  • public class LeanixWorkgroupsCleanupTaskHelper
    extends java.lang.Object
    • Constructor Detail

      • LeanixWorkgroupsCleanupTaskHelper

        public LeanixWorkgroupsCleanupTaskHelper()
    • Method Detail

      • processCleanup

        public void processCleanup​(sailpoint.api.SailPointContext context,
                                   sailpoint.object.TaskResult taskResult,
                                   boolean actualDeletion,
                                   int deletionOffset,
                                   int deletionThreshold)
                            throws sailpoint.tools.GeneralException,
                                   java.text.ParseException
        Cleanup of Workgroups where no Entitlement is delivered by LeanIX anymore
        Parameters:
        context - SailPointContext
        taskResult - TaskResult
        debugBreakAfter - Break processing after handling of specified number of Workgroups
        actualDeletion - Switch whether Workgroups should actually be deleted
        deletionOffset - Offset for deletion date in days - Workgroup deletion is happening after today + offset
        deletionThreshold - Threshold for max. number of Workgroups to be deleted - if exceeded, task will stop and delete nothing
        Throws:
        sailpoint.tools.GeneralException
        java.text.ParseException