java.lang.Object
com.foursoft.harness.navext.runtime.io.validation.LogValidator

public class LogValidator extends Object
a wrapper around a Validator which logs all error events in an array
  • Constructor Details

    • LogValidator

      public LogValidator(Validator validator)
  • Method Details

    • getErrorLines

      public Collection<LogValidator.ErrorLocation> getErrorLines()
      Returns:
      all collected errors
    • validate

      public boolean validate(Source source)
      runs the validation
      Parameters:
      source - the source to validate
      Returns:
      true if no validation errors were collected