com.atlassian.confluence.api.model.validation
Class SimpleFieldValidationError

java.lang.Object
  extended by com.atlassian.confluence.api.model.validation.SimpleValidationError
      extended by com.atlassian.confluence.api.model.validation.SimpleFieldValidationError
All Implemented Interfaces:
FieldValidationError, ValidationError

public class SimpleFieldValidationError
extends SimpleValidationError
implements FieldValidationError

Represents the simplest kind of validation error on a particular field.

Since:
5.6

Constructor Summary
SimpleFieldValidationError(java.lang.String fieldName, java.lang.String key, java.lang.Object... args)
           
 
Method Summary
 java.lang.String getFieldName()
           
 
Methods inherited from class com.atlassian.confluence.api.model.validation.SimpleValidationError
getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.api.model.validation.ValidationError
getMessage
 

Constructor Detail

SimpleFieldValidationError

public SimpleFieldValidationError(java.lang.String fieldName,
                                  java.lang.String key,
                                  java.lang.Object... args)
Method Detail

getFieldName

public java.lang.String getFieldName()
Specified by:
getFieldName in interface FieldValidationError
Returns:
the name of the field that this error relates to


Copyright © 2003-2014 Atlassian. All Rights Reserved.