Class ReportExporter
- java.lang.Object
-
- sailpoint.task.AbstractTaskExecutor
-
- com.identityworksllc.iiq.common.task.export.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
-
-
Constructor Summary
Constructors Constructor Description ReportExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(sailpoint.api.SailPointContext context, sailpoint.object.TaskSchedule taskSchedule, sailpoint.object.TaskResult taskResult, sailpoint.object.Attributes<String,Object> attributes)
Connection
openConnection(sailpoint.api.SailPointContext context, ExportConnectionInfo connectionInfo)
Opens the connection to the target database using the provided connection infoboolean
terminate()
-
-
-
Constructor Detail
-
ReportExporter
public 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 passwordconnectionInfo
- The provided connection info, extracted from the export task def- Returns:
- The open connection
- Throws:
sailpoint.tools.GeneralException
- if any failures occur
-
terminate
public boolean terminate()
-
-