java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.surveyfolder.layout.LayoutValidation

public class LayoutValidation extends Object
LayoutValidation is the result of checking a directory tree against a layout.
  • Constructor Details

    • LayoutValidation

      public LayoutValidation()
  • Method Details

    • getViolations

      public List<PathViolation> getViolations()
      Return the violations, in the order they were found.
      Returns:
      list of violations
    • getCheckedCount

      public long getCheckedCount()
      Return the number of checks made: one for each file and directory examined, plus one for each required file or directory that was missing.
      Returns:
      count
    • getConformanceScore

      public int getConformanceScore()
      Return the percentage of the checks that found no violation. It is 100 only when there are no violations, and it is 100 for an empty directory with nothing required.
      Returns:
      percentage from 0 to 100