Package de.xima.fc.interfaces.workflow
Interface Severity
-
- All Superinterfaces:
javax.validation.Payload
- All Known Subinterfaces:
Severity.Error
,Severity.Warning
public interface Severity extends javax.validation.Payload
Severity levels for bean validation. The default implementation of theIElementHandler.validateLocal(IElementLocalValidationParams)
delegates toIWorkflowBeanValidator.validateModel(Object, Class...)
. By default, all constraint violations are reported as errors. You can useSeverity.Warning
as thePayload
of a bean constraint to change the level towarning
. The severity levelSeverity.Error
is the default and does not need to be specified explicitly, but it is provided for consistency. In case multiple severity levels are present in the payload, the highest severity level is used.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Severity.Error
Severity levelError
for bean validation, seeSeverity
.static interface
Severity.Warning
Severity levelWarning
for bean validation, seeSeverity
.
-