Class CaseTaskRefProcessor
- java.lang.Object
-
- com.evolveum.midpoint.schema.validator.processor.CaseTaskRefProcessor
-
- All Implemented Interfaces:
ProcessorMixin
,UpgradeObjectProcessor<CaseType>
public class CaseTaskRefProcessor extends Object implements UpgradeObjectProcessor<CaseType>
-
-
Constructor Summary
Constructors Constructor Description CaseTaskRefProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradePhase
getPhase()
UpgradePriority
getPriority()
UpgradeType
getType()
boolean
isApplicable(PrismObject<?> object, ItemPath path)
Checks if the processor is applicable for the object and path.boolean
process(PrismObject<CaseType> 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:
getPhase
in interfaceUpgradeObjectProcessor<CaseType>
-
getPriority
public UpgradePriority getPriority()
- Specified by:
getPriority
in interfaceUpgradeObjectProcessor<CaseType>
-
getType
public UpgradeType getType()
- Specified by:
getType
in interfaceUpgradeObjectProcessor<CaseType>
-
isApplicable
public boolean isApplicable(PrismObject<?> object, ItemPath path)
Description copied from interface:UpgradeObjectProcessor
Checks 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:
isApplicable
in interfaceUpgradeObjectProcessor<CaseType>
-
process
public boolean process(PrismObject<CaseType> object, ItemPath path)
Description copied from interface:UpgradeObjectProcessor
Executes upgrade of item defined by path argument by modifying the object to correct state.- Specified by:
process
in interfaceUpgradeObjectProcessor<CaseType>
-
-