Class RestFieldValidationError
- java.lang.Object
-
- com.atlassian.confluence.rest.api.model.validation.RestFieldValidationError
-
- All Implemented Interfaces:
FieldValidationError
,ValidationError
@ExperimentalApi public class RestFieldValidationError extends Object implements FieldValidationError
REST-friendly version of aSimpleFieldValidationError
.- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description RestFieldValidationError(SimpleFieldValidationError that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
Message
getMessage()
String
toString()
-
-
-
Constructor Detail
-
RestFieldValidationError
public RestFieldValidationError(SimpleFieldValidationError that)
-
-
Method Detail
-
getMessage
public Message getMessage()
- Specified by:
getMessage
in interfaceValidationError
- Returns:
- the message for this error
-
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interfaceFieldValidationError
- Returns:
- the name of the field that this error relates to
-
-