Class ExceptionFactory.IntegrityCheckResult

  • Enclosing interface:
    ExceptionFactory<T extends java.lang.Exception>

    public static class ExceptionFactory.IntegrityCheckResult
    extends java.lang.Object
    Result for a exception factory integrity checks.
    Author:
    owaeldrich
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegrityCheckResult​(boolean result)
      Creates an integrity check result.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getViolations()
      Returns the integrity check violations.
      boolean isValid()
      Returns true if the integrity check succeeded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntegrityCheckResult

        public IntegrityCheckResult​(boolean result)
        Creates an integrity check result.
        Parameters:
        result - the
    • Method Detail

      • getViolations

        public java.util.List<java.lang.String> getViolations()
        Returns the integrity check violations.
        Returns:
        the integrity check violations
      • isValid

        public boolean isValid()
        Returns true if the integrity check succeeded.
        Returns:
        the integrity check result