Class ReportExporter

  • All Implemented Interfaces:
    sailpoint.object.BaseExecutor, sailpoint.object.TaskExecutor

    public class ReportExporter
    extends sailpoint.task.AbstractTaskExecutor
    Runs a series of IIQ report tasks, then exports the contents of their CSV output to a database table.

    TODO: make an ad hoc copy of the report to force CSV output and suppress emails

    • Field Summary

      • Fields inherited from class sailpoint.task.AbstractTaskExecutor

        ARG_FILTER, ARG_LOCK_MODE, ARG_LOCK_TIMEOUT, ARG_PROFILE, ARG_RESTARTABLE, ARG_TRACE, DEFAULT_LOCK_TIMEOUT, RET_TOTAL
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportExporter()  
    • Method Detail

      • execute

        public void execute​(sailpoint.api.SailPointContext context,
                            sailpoint.object.TaskSchedule taskSchedule,
                            sailpoint.object.TaskResult taskResult,
                            sailpoint.object.Attributes<String,​Object> attributes)
                     throws Exception
        Throws:
        Exception
      • openConnection

        public Connection openConnection​(sailpoint.api.SailPointContext context,
                                         ExportConnectionInfo connectionInfo)
                                  throws sailpoint.tools.GeneralException
        Opens the connection to the target database using the provided connection info
        Parameters:
        context - The sailpoint context, used to decrypt the password
        connectionInfo - The provided connection info, extracted from the export task def
        Returns:
        The open connection
        Throws:
        sailpoint.tools.GeneralException - if any failures occur