Class ConformanceRules.ConformanceResult

  • Enclosing class:
    ConformanceRules

    public static class ConformanceRules.ConformanceResult
    extends java.lang.Object
    Classes extending AbstractRule must return ConformanceResult from their checkConformance implementation. For simple rules, the constants CONFORMANCE, POSSIBLE_VIOLATION, VIOLATION are sufficient. However, for some rules additional clarification specific to the violation instance is helpful, for that, an instance of this class can be created to associate a note with the violation.