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

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

public static class CsvFieldNameValidator.Error
extends java.lang.Object
implements java.lang.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(java.lang.Object o)
           
 java.lang.String getKey()
          Returns i18n message resource key
 java.lang.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 java.lang.String getKey()
Returns i18n message resource key

Returns:
i18n message resource key

toString

public java.lang.String toString()
Returns i18n message resource key

Overrides:
toString in class java.lang.Object
Returns:
i18n message resource key

compareTo

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.