Class ModelOperationContextProcessor
- java.lang.Object
-
- com.evolveum.midpoint.schema.validator.processor.ModelOperationContextProcessor
-
- All Implemented Interfaces:
ProcessorMixin,UpgradeObjectProcessor<TaskType>
public class ModelOperationContextProcessor extends Object implements UpgradeObjectProcessor<TaskType>
-
-
Constructor Summary
Constructors Constructor Description ModelOperationContextProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradePhasegetPhase()UpgradePrioritygetPriority()UpgradeTypegetType()booleanisApplicable(PrismObject<?> object, ItemPath path)Checks if the processor is applicable for the object and path.booleanprocess(PrismObject<TaskType> object, ItemPath path)Executes upgrade of item defined by path argument by modifying the object to correct state.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.schema.validator.processor.ProcessorMixin
copyTransport, copyUserInterfaceFeature, getIdentifier, getItemParent, getRoleCatalog, matchObjectTypeAndPathTemplate, matchParentTypeAndItemName
-
Methods inherited from interface com.evolveum.midpoint.schema.validator.UpgradeObjectProcessor
getIdentifier, upgradeDescription
-
-
-
-
Method Detail
-
getPhase
public UpgradePhase getPhase()
- Specified by:
getPhasein interfaceUpgradeObjectProcessor<TaskType>
-
getPriority
public UpgradePriority getPriority()
- Specified by:
getPriorityin interfaceUpgradeObjectProcessor<TaskType>
-
getType
public UpgradeType getType()
- Specified by:
getTypein interfaceUpgradeObjectProcessor<TaskType>
-
isApplicable
public boolean isApplicable(PrismObject<?> object, ItemPath path)
Description copied from interface:UpgradeObjectProcessorChecks if the processor is applicable for the object and path. Most often whether object is instance of proper ObjectType and item at the path exists.- Specified by:
isApplicablein interfaceUpgradeObjectProcessor<TaskType>
-
process
public boolean process(PrismObject<TaskType> object, ItemPath path) throws Exception
Description copied from interface:UpgradeObjectProcessorExecutes upgrade of item defined by path argument by modifying the object to correct state.- Specified by:
processin interfaceUpgradeObjectProcessor<TaskType>- Throws:
Exception
-
-