Class ImportAuditRepositoryAction
- java.lang.Object
-
- com.evolveum.midpoint.ninja.action.Action<O,R>
-
- com.evolveum.midpoint.ninja.action.RepositoryAction<ImportAuditOptions,Void>
-
- com.evolveum.midpoint.ninja.action.audit.ImportAuditRepositoryAction
-
public class ImportAuditRepositoryAction extends RepositoryAction<ImportAuditOptions,Void>
Action for importing audit event records to the repository.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPERATION_NAME
static String
OPERATION_SHORT_NAME
-
Constructor Summary
Constructors Constructor Description ImportAuditRepositoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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<ImportAuditOptions,Void>
-
execute
public Void execute() throws Exception
- Specified by:
execute
in classAction<ImportAuditOptions,Void>
- Throws:
Exception
-
getLogTarget
public LogTarget getLogTarget()
- Overrides:
getLogTarget
in classAction<ImportAuditOptions,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.
-
-