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
-
-
Constructor Summary
Constructors Constructor Description ReportExporter()
-
Method Summary
All Methods Static 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)
static 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
-
openConnection
public static 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
-
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
-
terminate
public boolean terminate()
-
-