Class UpgradeObjectsAction
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<UpgradeObjectsOptions,ActionResult<UpgradeObjectsItemsSummary>>
com.evolveum.midpoint.ninja.action.upgrade.action.UpgradeObjectsAction
public class UpgradeObjectsAction
extends AbstractRepositorySearchAction<UpgradeObjectsOptions,ActionResult<UpgradeObjectsItemsSummary>>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Callable<ActionResult<UpgradeObjectsItemsSummary>>
createConsumer
(BlockingQueue<ObjectType> queue, OperationStatus operation) execute()
@NotNull NinjaApplicationContextLevel
getApplicationContextLevel
(List<Object> allOptions) protected void
handleResultOnFinish
(ActionResult<UpgradeObjectsItemsSummary> consumerResult, OperationStatus operation, String finishMessage)
-
Field Details
-
ERROR_CODE_VERIFICATION_FILE_NOT_FOUND
public static final int ERROR_CODE_VERIFICATION_FILE_NOT_FOUND- See Also:
-
-
Constructor Details
-
UpgradeObjectsAction
public UpgradeObjectsAction() -
UpgradeObjectsAction
public UpgradeObjectsAction(boolean partial)
-
-
Method Details
-
getLogTarget
- Overrides:
getLogTarget
in classAbstractRepositorySearchAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>> - 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.
-
getApplicationContextLevel
@NotNull public @NotNull NinjaApplicationContextLevel getApplicationContextLevel(List<Object> allOptions) - Overrides:
getApplicationContextLevel
in classAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>> - Returns:
- Level of application context initialization required for this action.
-
execute
- Overrides:
execute
in classAbstractRepositorySearchAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>> - Throws:
Exception
-
getOperationName
- Specified by:
getOperationName
in classAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>>
-
createConsumer
protected Callable<ActionResult<UpgradeObjectsItemsSummary>> createConsumer(BlockingQueue<ObjectType> queue, OperationStatus operation) - Specified by:
createConsumer
in classAbstractRepositorySearchAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>>
-
handleResultOnFinish
protected void handleResultOnFinish(ActionResult<UpgradeObjectsItemsSummary> consumerResult, OperationStatus operation, String finishMessage) - Overrides:
handleResultOnFinish
in classAction<UpgradeObjectsOptions,
ActionResult<UpgradeObjectsItemsSummary>>
-