com.atlassian.jira.rest.api.util
Enum AttachmentHelper.ValidationError

java.lang.Object
  extended by java.lang.Enum<AttachmentHelper.ValidationError>
      extended by com.atlassian.jira.rest.api.util.AttachmentHelper.ValidationError
All Implemented Interfaces:
Serializable, Comparable<AttachmentHelper.ValidationError>
Enclosing class:
AttachmentHelper

public static enum AttachmentHelper.ValidationError
extends Enum<AttachmentHelper.ValidationError>


Enum Constant Summary
ATTACHMENT_IO_SIZE
           
ATTACHMENT_IO_UNKNOWN
           
ATTACHMENT_TO_LARGE
           
FILENAME_BLANK
           
XSRF_TOKEN_INVALID
           
 
Method Summary
static AttachmentHelper.ValidationError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttachmentHelper.ValidationError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATTACHMENT_TO_LARGE

public static final AttachmentHelper.ValidationError ATTACHMENT_TO_LARGE

ATTACHMENT_IO_SIZE

public static final AttachmentHelper.ValidationError ATTACHMENT_IO_SIZE

ATTACHMENT_IO_UNKNOWN

public static final AttachmentHelper.ValidationError ATTACHMENT_IO_UNKNOWN

FILENAME_BLANK

public static final AttachmentHelper.ValidationError FILENAME_BLANK

XSRF_TOKEN_INVALID

public static final AttachmentHelper.ValidationError XSRF_TOKEN_INVALID
Method Detail

values

public static AttachmentHelper.ValidationError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AttachmentHelper.ValidationError c : AttachmentHelper.ValidationError.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttachmentHelper.ValidationError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2002-2012 Atlassian. All Rights Reserved.