public static enum AttachmentHelper.ValidationError extends Enum<AttachmentHelper.ValidationError>
Enum Constant and Description |
---|
ATTACHMENT_IO_SIZE |
ATTACHMENT_IO_UNKNOWN |
ATTACHMENT_TO_LARGE |
FILENAME_BLANK |
XSRF_TOKEN_INVALID |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final AttachmentHelper.ValidationError ATTACHMENT_TO_LARGE
public static final AttachmentHelper.ValidationError ATTACHMENT_IO_SIZE
public static final AttachmentHelper.ValidationError ATTACHMENT_IO_UNKNOWN
public static final AttachmentHelper.ValidationError FILENAME_BLANK
public static final AttachmentHelper.ValidationError XSRF_TOKEN_INVALID
public static AttachmentHelper.ValidationError[] values()
for (AttachmentHelper.ValidationError c : AttachmentHelper.ValidationError.values()) System.out.println(c);
public static AttachmentHelper.ValidationError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002-2017 Atlassian. All Rights Reserved.