Class UpgradeObjectHandler
- java.lang.Object
-
- com.evolveum.midpoint.ninja.action.upgrade.UpgradeObjectHandler
-
public class UpgradeObjectHandler extends Object
Handles upgrade of single object, filters out items that are not applicable for upgrade based on options selected by user.
-
-
Constructor Summary
Constructors Constructor Description UpgradeObjectHandler(UpgradeObjectsOptions options, NinjaContext context, Map<UUID,Set<SkipUpgradeItem>> skipUpgradeItems, UpgradeObjectsItemsSummary itemsSummary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <O extends ObjectType>
@NotNull UpgradeObjectResultexecute(PrismObject<O> object)
Filters out items that are not applicable for upgrade, applies delta to object.
-
-
-
Constructor Detail
-
UpgradeObjectHandler
public UpgradeObjectHandler(UpgradeObjectsOptions options, NinjaContext context, Map<UUID,Set<SkipUpgradeItem>> skipUpgradeItems, UpgradeObjectsItemsSummary itemsSummary)
-
-
Method Detail
-
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
-
-