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 StringgetFieldName()MessagegetMessage()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
RestFieldValidationError
public RestFieldValidationError(SimpleFieldValidationError that)
 
 - 
 
- 
Method Detail
- 
getMessage
public Message getMessage()
- Specified by:
 getMessagein interfaceValidationError- Returns:
 - the message for this error
 
 
- 
getFieldName
public String getFieldName()
- Specified by:
 getFieldNamein interfaceFieldValidationError- Returns:
 - the name of the field that this error relates to
 
 
 - 
 
 -