Class UpgradeObjectHandler
java.lang.Object
com.evolveum.midpoint.ninja.action.upgrade.UpgradeObjectHandler
Handles upgrade of single object, filters out items that are not applicable for upgrade based on options selected by user.
-
Constructor Summary
ConstructorDescriptionUpgradeObjectHandler
(UpgradeObjectsOptions options, NinjaContext context, Map<UUID, Set<SkipUpgradeItem>> skipUpgradeItems, UpgradeObjectsItemsSummary itemsSummary) -
Method Summary
Modifier and TypeMethodDescription<O extends ObjectType>
@NotNull UpgradeObjectResultexecute
(PrismObject<O> object) Filters out items that are not applicable for upgrade, applies delta to object.
-
Constructor Details
-
UpgradeObjectHandler
public UpgradeObjectHandler(UpgradeObjectsOptions options, NinjaContext context, Map<UUID, Set<SkipUpgradeItem>> skipUpgradeItems, UpgradeObjectsItemsSummary itemsSummary)
-
-
Method Details
-
execute
@NotNull public <O extends ObjectType> @NotNull UpgradeObjectResult execute(PrismObject<O> object) throws Exception Filters out items that are not applicable for upgrade, applies delta to object.- Type Parameters:
O
- type of object- Parameters:
object
- to upgrade- Returns:
- UpgradeObjectResult value
- Throws:
Exception
-