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 Details

    • ObjectUpgradeValidator

      public ObjectUpgradeValidator(@NotNull @NotNull PrismContext prismContext)
  • Method Details

    • setWarnDeprecated

      public void setWarnDeprecated(boolean value)
    • setWarnPlannedRemoval

      public void setWarnPlannedRemoval(boolean value)
    • setWarnPlannedRemovalVersion

      public void setWarnPlannedRemovalVersion(String value)
    • 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