Class ValidationResult
java.lang.Object
de.redsix.dmncheck.result.ValidationResult
A validation result consists of the following:
1) A message that describes the validation result 2) A severity indicating how severe the result is 3) A reference to the DMN element that caused result
In this context a validation result always describes an error or a warning. There is currently no way to express positive validation results, except returning no validation results at all.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.operaton.bpm.model.xml.instance.ModelElementInstancetoString()withDocumentation(String documentation) Returns a copy of this validation result that links to the given documentation.
-
Field Details
-
init
-
-
Method Details
-
withDocumentation
Returns a copy of this validation result that links to the given documentation.- Parameters:
documentation- URL of a detailed description of the result and possible solutions- Returns:
- validation result with documentation
-
getSeverity
-
getMessage
-
getElement
public org.operaton.bpm.model.xml.instance.ModelElementInstance getElement() -
getDocumentation
-
toString
-