public final class ValidationStatusCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SEVERITY_ERROR |
static int |
SEVERITY_ERROR_ON_CHILDREN |
static int |
SEVERITY_LOCAL_ERROR |
static int |
SEVERITY_LOCAL_WARNING |
static int |
SEVERITY_OK |
static int |
SEVERITY_WARNING |
static int |
SEVERITY_WARNING_ON_CHILDREN |
Constructor and Description |
---|
ValidationStatusCode() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convertErrorInt(int errorCode)
Convert a validation error code to an comprehensible string.
|
static int |
convertMarkerToValidationStatusCode(int markerProblemCode)
convert Marker problem status to sphinx validation framework status
|
public static final int SEVERITY_OK
public static final int SEVERITY_WARNING
public static final int SEVERITY_LOCAL_WARNING
public static final int SEVERITY_WARNING_ON_CHILDREN
public static final int SEVERITY_ERROR
public static final int SEVERITY_LOCAL_ERROR
public static final int SEVERITY_ERROR_ON_CHILDREN
public static int convertMarkerToValidationStatusCode(int markerProblemCode)
markerProblemCode
- Severity code as stored into MarkerIMarker
public static java.lang.String convertErrorInt(int errorCode)
errorCode
-