Class ObjectUpgradeValidator
- java.lang.Object
-
- com.evolveum.midpoint.schema.validator.ObjectUpgradeValidator
-
public class ObjectUpgradeValidator extends Object
Enhanced validator that also produces more information about how validation item should be updated.
-
-
Constructor Summary
Constructors Constructor Description ObjectUpgradeValidator(@NotNull PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setWarnDeprecated(boolean value)
void
setWarnIncorrectOids(boolean value)
void
setWarnPlannedRemoval(boolean value)
void
setWarnPlannedRemovalVersion(String value)
void
showAllWarnings()
<O extends ObjectType>
UpgradeValidationResultvalidate(PrismObject<O> object)
-
-
-
Constructor Detail
-
ObjectUpgradeValidator
public ObjectUpgradeValidator(@NotNull @NotNull PrismContext prismContext)
-
-
Method Detail
-
setWarnDeprecated
public void setWarnDeprecated(boolean value)
-
setWarnPlannedRemoval
public void setWarnPlannedRemoval(boolean value)
-
setWarnPlannedRemovalVersion
public void setWarnPlannedRemovalVersion(String 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
-
-