Skip to content
Snippets Groups Projects
Commit 0c9e534d authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

fixup! Add default show verifications fixes to existing verifier

parent d861e349
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,28 @@ import org.apache.commons.lang3.Validate; ...@@ -21,6 +21,28 @@ import org.apache.commons.lang3.Validate;
*/ */
public class VerificationResultEntry extends AbstractResultObject { public class VerificationResultEntry extends AbstractResultObject {
/**
* Enum to classify one {@link VerificationResultEntry}.
*/
public enum VerificationClassification {
/**
* Only information.
*/
INFO,
/**
* Warning. No action needed.
*/
WARNING,
/**
* Error. Action needed.
*/
ERROR,
/**
* Fatal error. Must be fixed, so that the dmn is executable.
*/
FATAL_ERROR
}
/** /**
* Get the list of {@link VerificationFix}es. * Get the list of {@link VerificationFix}es.
* *
...@@ -41,20 +63,6 @@ public class VerificationResultEntry extends AbstractResultObject { ...@@ -41,20 +63,6 @@ public class VerificationResultEntry extends AbstractResultObject {
verificationFixes = new ArrayList<>(); verificationFixes = new ArrayList<>();
} }
/**
* Enum to classify one {@link VerificationResultEntry}.
*/
public enum VerificationClassification {
/** Only information. */
INFO,
/** Warning. No action needed. */
WARNING,
/** Error. Action needed. */
ERROR,
/** Fatal error. Must be fixed, so that the dmn is executable. */
FATAL_ERROR
}
/** /**
* Get the amount of verification result entry elements. * Get the amount of verification result entry elements.
* *
......
...@@ -40,7 +40,7 @@ public class VerifierResult extends AbstractResultObject { ...@@ -40,7 +40,7 @@ public class VerifierResult extends AbstractResultObject {
/** /**
* Get the {@link VerificationType} of the {@link Verifier}. * Get the {@link VerificationType} of the {@link Verifier}.
* *
* @return * @return the {@link VerificationType}
*/ */
@JsonbProperty("type") @JsonbProperty("type")
public VerificationType getVerificationType() { public VerificationType getVerificationType() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment