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.
-
-
Constructor Summary
Constructors Constructor Description AbstractRepositorySearchAction()
AbstractRepositorySearchAction(boolean partial)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Callable<R>
createConsumer(BlockingQueue<ObjectType> queue, OperationStatus operation)
R
execute()
LogTarget
getLogTarget()
-
Methods inherited from class com.evolveum.midpoint.ninja.action.Action
destroy, getApplicationContextLevel, getOperationName, handleResultOnFinish, init
-
-
-
-
Method Detail
-
createConsumer
protected abstract Callable<R> createConsumer(BlockingQueue<ObjectType> queue, OperationStatus operation)
-
getLogTarget
public LogTarget 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.
-
-