Class AbstractRepositorySearchAction<O extends ExportOptions,R>
java.lang.Object
com.evolveum.midpoint.ninja.action.Action<O,R>
com.evolveum.midpoint.ninja.action.RepositoryAction<O,R>
com.evolveum.midpoint.ninja.action.AbstractRepositorySearchAction<O,R>
- Type Parameters:
O
- options class
- Direct Known Subclasses:
ExportRepositoryAction
,UpgradeObjectsAction
,VerifyAction
public abstract class AbstractRepositorySearchAction<O extends ExportOptions,R>
extends RepositoryAction<O,R>
Abstract action for all search-based operations, such as export and verify.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateConsumer
(BlockingQueue<ObjectType> queue, OperationStatus operation) execute()
Methods inherited from class com.evolveum.midpoint.ninja.action.Action
destroy, getApplicationContextLevel, getOperationName, handleResultOnFinish, init
-
Constructor Details
-
AbstractRepositorySearchAction
public AbstractRepositorySearchAction() -
AbstractRepositorySearchAction
public AbstractRepositorySearchAction(boolean partial)
-
-
Method Details
-
createConsumer
protected abstract Callable<R> createConsumer(BlockingQueue<ObjectType> queue, OperationStatus operation) -
execute
-
getLogTarget
- Overrides:
getLogTarget
in classAction<O extends ExportOptions,
R> - 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.
-