Package org.apache.rat.testhelpers.data
Class ValidatorData
java.lang.Object
org.apache.rat.testhelpers.data.ValidatorData
The validator for test data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the path to the base directory.Gets the directory where the test setup was created as a DocumentName.Gets the configuration from the run.Gets the document that was generated during execution.Gets the reporter output object.Gets the claim statistics from the runCreates a DocumentName for a file name.
-
Constructor Details
-
ValidatorData
Constructor.- Parameters:
output- The report output.baseDir- the directory where the test setup was created.
-
-
Method Details
-
getBaseName
Gets the directory where the test setup was created as a DocumentName.- Returns:
- the DocumentName for the baseDir directory.
-
mkDocName
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
Gets the reporter output object.- Returns:
- the reporter output object.
-
getDocument
Gets the document that was generated during execution.- Returns:
- the document that was generated during execution.
-
getStatistic
Gets the claim statistics from the run- Returns:
- the ClaimStatistic from the run.
-
getConfiguration
Gets the configuration from the run.- Returns:
- the configuration from the run.
-
getBaseDir
Gets the path to the base directory.- Returns:
- the path to the base directory.
-