Class OidBoundProcessor
java.lang.Object
com.evolveum.midpoint.schema.validator.processor.OidBoundProcessor
- All Implemented Interfaces:
ProcessorMixin,UpgradeObjectProcessor<ObjectType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPhase()getType()booleanisApplicable(PrismObject<?> object, ItemPath path) Checks if the processor is applicable for the object and path.booleanprocess(PrismObject<ObjectType> object, ItemPath path) Executes upgrade of item defined by path argument by modifying the object to correct state.upgradeDescription(PrismObject<ObjectType> object, ItemPath path) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.schema.validator.processor.ProcessorMixin
copyTransport, copyUserInterfaceFeature, getIdentifier, getItemParent, getRoleCatalog, matchObjectTypeAndPathTemplate, matchParentTypeAndItemNameMethods inherited from interface com.evolveum.midpoint.schema.validator.UpgradeObjectProcessor
getIdentifier
-
Constructor Details
-
OidBoundProcessor
public OidBoundProcessor()
-
-
Method Details
-
getPhase
- Specified by:
getPhasein interfaceUpgradeObjectProcessor<ObjectType>
-
getPriority
- Specified by:
getPriorityin interfaceUpgradeObjectProcessor<ObjectType>
-
getType
- Specified by:
getTypein interfaceUpgradeObjectProcessor<ObjectType>
-
isApplicable
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<ObjectType>
-
upgradeDescription
- Specified by:
upgradeDescriptionin interfaceUpgradeObjectProcessor<ObjectType>- Parameters:
object- before processing- Returns:
- Returns description of the upgrade if not done automatically. Should be single line (might end up in CSV) without any special characters. Certainly not semicolon (;) and double quote ("). Best approach is to put in short description and link to documentation.
-
process
Description copied from interface:UpgradeObjectProcessorExecutes upgrade of item defined by path argument by modifying the object to correct state.- Specified by:
processin interfaceUpgradeObjectProcessor<ObjectType>- Throws:
Exception
-