Interface ValidationTaskSpec
- All Known Implementing Classes:
AbstractXmlValidationTask,SchematronTask,XsdTask
public interface ValidationTaskSpec
Ready-to-implement contract for SVRL-based validation tasks.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> Returns whether validation findings fail the build.org.gradle.api.file.DirectoryPropertyReturns the directory used for generated JUnit XML files.org.gradle.api.provider.Property<String> Returns the testsuite name used in JUnit report generation.org.gradle.api.provider.Property<Integer> Returns the maximum number of failures to aggregate.org.gradle.api.file.DirectoryPropertyReturns the destination directory for generated SVRL files.org.gradle.api.provider.Property<String> Returns the output extension used when writing SVRL files.Returns task parameters passed to the active validation engine.org.gradle.api.provider.Property<ReportFormat> Returns the configured report format.org.gradle.api.provider.Property<Integer> Returns the number of workers used for concurrent validation.
-
Method Details
-
getOutputDir
org.gradle.api.file.DirectoryProperty getOutputDir()Returns the destination directory for generated SVRL files.- Returns:
- destination directory for SVRL outputs
-
getOutputExtension
org.gradle.api.provider.Property<String> getOutputExtension()Returns the output extension used when writing SVRL files.- Returns:
- output extension used for SVRL file mapping
-
getWorkers
org.gradle.api.provider.Property<Integer> getWorkers()Returns the number of workers used for concurrent validation.- Returns:
- number of parallel workers for multi-file validation
-
getFailOnError
org.gradle.api.provider.Property<Boolean> getFailOnError()Returns whether validation findings fail the build.- Returns:
- whether validation findings should fail the build
-
getMaxFailures
org.gradle.api.provider.Property<Integer> getMaxFailures()Returns the maximum number of failures to aggregate.- Returns:
- maximum number of failures to aggregate before stopping
-
getReportFormat
org.gradle.api.provider.Property<ReportFormat> getReportFormat()Returns the configured report format.- Returns:
- selected report format(s)
-
getJunitOutputDir
org.gradle.api.file.DirectoryProperty getJunitOutputDir()Returns the directory used for generated JUnit XML files.- Returns:
- destination directory for generated JUnit XML reports
-
getJunitSuiteName
org.gradle.api.provider.Property<String> getJunitSuiteName()Returns the testsuite name used in JUnit report generation.- Returns:
- JUnit suite name used for generated reports
-
getParams
Returns task parameters passed to the active validation engine.- Returns:
- task-level parameters consumed by validation engines
-