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 the
IElementHandler.validateLocal(IElementLocalValidationParams)
delegates to
IWorkflowBeanValidator.validateModel(Object, Class...)
. By default, all constraint violations are reported as
errors. You can use Severity.Warning
as the Payload
of a bean constraint to change the level to
warning
. The severity level Severity.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