com.atlassian.jira.rest.api.util
Enum AttachmentHelper.ValidationError
java.lang.Object
java.lang.Enum<AttachmentHelper.ValidationError>
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>
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
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.