Class ValidatorData

java.lang.Object
org.apache.rat.testhelpers.data.ValidatorData

public final class ValidatorData extends Object
The validator for test data.
  • Constructor Details

    • ValidatorData

      public ValidatorData(Reporter.Output output, String baseDir)
      Constructor.
      Parameters:
      output - The report output.
      baseDir - the directory where the test setup was created.
  • Method Details

    • getBaseName

      public DocumentName getBaseName()
      Gets the directory where the test setup was created as a DocumentName.
      Returns:
      the DocumentName for the baseDir directory.
    • mkDocName

      public DocumentName mkDocName(String fileName)
      Creates a DocumentName for a file name. The root of the document Name will be the baseDir.
      Parameters:
      fileName - the file name to create a document name for.
      Returns:
      the Document name for the file.
    • getOutput

      public Reporter.Output getOutput()
      Gets the reporter output object.
      Returns:
      the reporter output object.
    • getDocument

      public Document getDocument()
      Gets the document that was generated during execution.
      Returns:
      the document that was generated during execution.
    • getStatistic

      public ClaimStatistic getStatistic()
      Gets the claim statistics from the run
      Returns:
      the ClaimStatistic from the run.
    • getConfiguration

      public ReportConfiguration getConfiguration()
      Gets the configuration from the run.
      Returns:
      the configuration from the run.
    • getBaseDir

      public Path getBaseDir()
      Gets the path to the base directory.
      Returns:
      the path to the base directory.