Package gov.niem.tools.api.validation
Class Test.TestBuilder
java.lang.Object
gov.niem.tools.api.validation.Test.TestBuilder
- Enclosing class:
Test
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) exampleInvalid
(String exampleInvalid) exampleValid
(String exampleValid) exceptionLabels
(String exceptionLabels) exceptions
(String exceptions) ran
(boolean ran) results
(List<TestResult> results) ruleNumber
(String ruleNumber) runtime
(float runtime) Test runtime in seconds.severity
(Test.Severity severity) start
(long start) status
(TestResult.Status status) toString()
-
Method Details
-
status
- Returns:
this
.
-
id
- Returns:
this
.
-
description
- Returns:
this
.
-
severity
- Returns:
this
.
-
category
- Returns:
this
.
-
component
- Returns:
this
.
-
field
- Returns:
this
.
-
comments
- Returns:
this
.
-
scope
- Returns:
this
.
-
source
- Returns:
this
.
-
specId
- Returns:
this
.
-
specUrl
- Returns:
this
.
-
ruleNumber
- Returns:
this
.
-
ruleUrl
- Returns:
this
.
-
exampleValid
- Returns:
this
.
-
exampleInvalid
- Returns:
this
.
-
exceptions
- Returns:
this
.
-
exceptionLabels
- Returns:
this
.
-
notes
- Returns:
this
.
-
ran
- Returns:
this
.
-
runtime
Test runtime in seconds.- Returns:
this
.
-
start
- Returns:
this
.
-
results
- Returns:
this
.
-
build
-
toString
-