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>>
-
-
Constructor Summary
Constructors Constructor Description UpgradeObjectsAction()
UpgradeObjectsAction(boolean partial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Callable<ActionResult<UpgradeObjectsItemsSummary>>
createConsumer(BlockingQueue<ObjectType> queue, OperationStatus operation)
ActionResult<UpgradeObjectsItemsSummary>
execute()
@NotNull NinjaApplicationContextLevel
getApplicationContextLevel(List<Object> allOptions)
LogTarget
getLogTarget()
String
getOperationName()
protected void
handleResultOnFinish(ActionResult<UpgradeObjectsItemsSummary> consumerResult, OperationStatus operation, String finishMessage)
-
-
-
Field Detail
-
ERROR_CODE_VERIFICATION_FILE_NOT_FOUND
public static final int ERROR_CODE_VERIFICATION_FILE_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogTarget
public LogTarget 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
public ActionResult<UpgradeObjectsItemsSummary> execute() throws Exception
- Overrides:
execute
in classAbstractRepositorySearchAction<UpgradeObjectsOptions,ActionResult<UpgradeObjectsItemsSummary>>
- Throws:
Exception
-
getOperationName
public String 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>>
-
-