Class ResourceSynchronizationProcessor
java.lang.Object
com.evolveum.midpoint.schema.validator.processor.ResourceSynchronizationProcessor
- All Implemented Interfaces:
ProcessorMixin
,UpgradeObjectProcessor<ResourceType>
public class ResourceSynchronizationProcessor
extends Object
implements UpgradeObjectProcessor<ResourceType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPhase()
getType()
boolean
isApplicable
(PrismObject<?> object, ItemPath path) Checks if the processor is applicable for the object and path.boolean
process
(PrismObject<ResourceType> object, ItemPath path) Executes upgrade of item defined by path argument by modifying the object to correct state.upgradeDescription
(PrismObject<ResourceType> object, ItemPath path) 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
-
Constructor Details
-
ResourceSynchronizationProcessor
public ResourceSynchronizationProcessor()
-
-
Method Details
-
getPhase
- Specified by:
getPhase
in interfaceUpgradeObjectProcessor<ResourceType>
-
getPriority
- Specified by:
getPriority
in interfaceUpgradeObjectProcessor<ResourceType>
-
getType
- Specified by:
getType
in interfaceUpgradeObjectProcessor<ResourceType>
-
isApplicable
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<ResourceType>
-
process
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<ResourceType>
- Throws:
Exception
-
upgradeDescription
- Specified by:
upgradeDescription
in interfaceUpgradeObjectProcessor<ResourceType>
- 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.
-