Class ValidationMessage
java.lang.Object
com.xebialabs.deployit.plugin.api.validation.ValidationMessage
- All Implemented Interfaces:
Serializable
A ValidationMessage may be returned for certain operations, related to specific property of a
ConfigurationItem
.- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionValidationMessage
(String ciId, String propertyName, String message) ValidationMessage
(String ciId, String propertyName, String message, ValidationMessage.Level level) ValidationMessage
(String ciId, String propertyName, String message, String level) -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationMessage
getCiId()
getLevel()
static ValidationMessage
toString()
static ValidationMessage
-
Constructor Details
-
ValidationMessage
-
ValidationMessage
public ValidationMessage(String ciId, String propertyName, String message, ValidationMessage.Level level) -
ValidationMessage
-
-
Method Details
-
error
-
warn
-
info
-
getCiId
- Returns:
- The id of the
ConfigurationItem
.
-
getPropertyName
- Returns:
- The name of the property.
-
getMessage
- Returns:
- The validation message.
-
getLevel
- Returns:
- The validation message level.
-
toString
-