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 SummaryConstructors Constructor Description RestFieldValidationError(SimpleFieldValidationError that)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFieldName()MessagegetMessage()StringtoString()
 
- 
- 
- 
Constructor Detail- 
RestFieldValidationErrorpublic RestFieldValidationError(SimpleFieldValidationError that) 
 
- 
 - 
Method Detail- 
getMessagepublic Message getMessage() - Specified by:
- getMessagein interface- ValidationError
- Returns:
- the message for this error
 
 - 
getFieldNamepublic String getFieldName() - Specified by:
- getFieldNamein interface- FieldValidationError
- Returns:
- the name of the field that this error relates to
 
 
- 
 
-