Class ExportAuditRepositoryAction
- java.lang.Object
-
- com.evolveum.midpoint.ninja.action.Action<O,R>
-
- com.evolveum.midpoint.ninja.action.RepositoryAction<ExportAuditOptions,Void>
-
- com.evolveum.midpoint.ninja.action.audit.ExportAuditRepositoryAction
-
public class ExportAuditRepositoryAction extends RepositoryAction<ExportAuditOptions,Void>
Similar to normal repositoryExportRepositoryAction
, but not extended fromAbstractRepositorySearchAction
because we need containers here and objects are quite deeply embedded in the existing classes.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPERATION_NAME
static String
OPERATION_SHORT_NAME
-
Constructor Summary
Constructors Constructor Description ExportAuditRepositoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Runnable
createConsumer(BlockingQueue<AuditEventRecordType> queue, OperationStatus operation)
Void
execute()
LogTarget
getLogTarget()
String
getOperationName()
-
Methods inherited from class com.evolveum.midpoint.ninja.action.Action
destroy, getApplicationContextLevel, handleResultOnFinish, init
-
-
-
-
Field Detail
-
OPERATION_SHORT_NAME
public static final String OPERATION_SHORT_NAME
- See Also:
- Constant Field Values
-
OPERATION_NAME
public static final String OPERATION_NAME
-
-
Method Detail
-
getOperationName
public String getOperationName()
- Specified by:
getOperationName
in classAction<ExportAuditOptions,Void>
-
createConsumer
protected Runnable createConsumer(BlockingQueue<AuditEventRecordType> queue, OperationStatus operation)
-
execute
public Void execute() throws Exception
- Specified by:
execute
in classAction<ExportAuditOptions,Void>
- Throws:
Exception
-
getLogTarget
public LogTarget getLogTarget()
- Overrides:
getLogTarget
in classAction<ExportAuditOptions,Void>
- Returns:
- target where the log should be printed. In case action result is printed to the standard output, log messages should go to the standard error no to mix the output. Otherwise, log messages should go to the standard output.
-
-