Class TerminatorWorker

    • Constructor Detail

      • TerminatorWorker

        public TerminatorWorker()
        Required by Externalizable; don’t use this please
      • TerminatorWorker

        public TerminatorWorker​(Class<sailpoint.object.SailPointObject> className,
                                String id)
        Creates a worker to terminate the given SailPointObject by ID
        Parameters:
        className - The class name of the object to terminate
        id - The ID of the object to terminate
      • TerminatorWorker

        public TerminatorWorker​(Class<sailpoint.object.SailPointObject> className,
                                List<String> ids)
        Creates a worker to terminate a list of SailPointObjects by ID
        Parameters:
        className - The class name of the objects to terminate
        ids - The list of IDs of the objects to terminate
      • TerminatorWorker

        public TerminatorWorker​(sailpoint.object.Reference singleObject)
        A new worker that will terminate a single object
        Parameters:
        singleObject - The single object reference to terminate
      • TerminatorWorker

        public TerminatorWorker​(List<sailpoint.object.Reference> objects)
        A new worker that will terminate a list of objects
        Parameters:
        objects - The list of objects
    • Method Detail

      • forObject

        public static TerminatorWorker forObject​(sailpoint.object.SailPointObject object)
        Returns a TerminatorWorker for the given SailPointObject
        Parameters:
        object - The object
        Returns:
        The worker
      • forObjects

        public static TerminatorWorker forObjects​(List<? extends sailpoint.object.SailPointObject> objects)
        Returns a TerminatorWorker for the given list of SailPointObjects
        Parameters:
        objects - The SailPointObjects
        Returns:
        the worker
      • execute

        public Object execute​(sailpoint.api.SailPointContext context,
                              org.apache.commons.logging.Log logger)
                       throws Exception
        Invokes the Terminator on each object in the list of references.
        Specified by:
        execute in class SailPointWorker
        Parameters:
        context - The private context to use for this thread worker
        logger - The log attached to this Worker
        Returns:
        Null; can be ignored
        Throws:
        Exception - if any failures occur