com.atlassian.jira.imports.csv
Class CsvFieldNameValidator.Error

java.lang.Object
  extended by com.atlassian.jira.imports.csv.CsvFieldNameValidator.Error
All Implemented Interfaces:
Comparable
Enclosing class:
CsvFieldNameValidator

public static class CsvFieldNameValidator.Error
extends Object
implements Comparable

Simple class for representing errors reported by this validator. Each error constant has a unique key that can be used as an i18n message resource key for messages defined in JiraWebActionSupport.properties.


Field Summary
static CsvFieldNameValidator.Error BRACKET_MISMATCH
          This error represents an error when bracket mismatch is found
static CsvFieldNameValidator.Error PLUS_SIGN
          This error represents an invalid plus sign character
 
Method Summary
 int compareTo(Object o)
           
 String getKey()
          Returns i18n message resource key
 String toString()
          Returns i18n message resource key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLUS_SIGN

public static final CsvFieldNameValidator.Error PLUS_SIGN
This error represents an invalid plus sign character


BRACKET_MISMATCH

public static final CsvFieldNameValidator.Error BRACKET_MISMATCH
This error represents an error when bracket mismatch is found

Method Detail

getKey

public String getKey()
Returns i18n message resource key

Returns:
i18n message resource key

toString

public String toString()
Returns i18n message resource key

Overrides:
toString in class Object
Returns:
i18n message resource key

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2002-2009 Atlassian. All Rights Reserved.