Class GlobalViolation
java.lang.Object
org.nuxeo.ecm.core.api.validation.GlobalViolation
- All Implemented Interfaces:
Serializable
,ValidationViolation
Global validation violation simply handling a message key.
- Since:
- 11.1
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
messageKey
-
-
Constructor Details
-
GlobalViolation
-
-
Method Details
-
getMessageKey
- Specified by:
getMessageKey
in interfaceValidationViolation
-
getMessage
- Specified by:
getMessage
in interfaceValidationViolation
- Returns:
- The message if it's found in message bundles,
getMessageKey()
otherwise.
-