Class ObjectUpgradeValidator
java.lang.Object
com.evolveum.midpoint.schema.validator.ObjectUpgradeValidator
Enhanced validator that also produces more information about how validation item should be updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setWarnDeprecated
(boolean value) void
setWarnIncorrectOids
(boolean value) void
setWarnPlannedRemoval
(boolean value) void
void
setWarnRemoved
(boolean value) void
<O extends ObjectType>
UpgradeValidationResultvalidate
(PrismObject<O> object)
-
Constructor Details
-
ObjectUpgradeValidator
-
-
Method Details
-
setWarnDeprecated
public void setWarnDeprecated(boolean value) -
setWarnPlannedRemoval
public void setWarnPlannedRemoval(boolean value) -
setWarnPlannedRemovalVersion
-
setWarnRemoved
public void setWarnRemoved(boolean value) -
setWarnIncorrectOids
public void setWarnIncorrectOids(boolean value) -
showAllWarnings
public void showAllWarnings() -
validate
public <O extends ObjectType> UpgradeValidationResult validate(PrismObject<O> object) throws Exception - Throws:
Exception
-