public enum AttachmentStatus extends Enum<AttachmentStatus>
Enum Constant and Description |
---|
CONTENT_EXTRACTED |
EXTRACTION_ERROR |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
static Optional<AttachmentStatus> |
ofNullable(String name) |
static AttachmentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachmentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachmentStatus CONTENT_EXTRACTED
public static final AttachmentStatus EXTRACTION_ERROR
public static AttachmentStatus[] values()
for (AttachmentStatus c : AttachmentStatus.values()) System.out.println(c);
public static AttachmentStatus 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 nullpublic int getPriority()
public static Optional<AttachmentStatus> ofNullable(String name)
Copyright © 2003–2020 Atlassian. All rights reserved.