public enum AttachmentEnum extends Enum<AttachmentEnum>
| Enum Constant and Description |
|---|
ALL |
WITH_ATTACHMENTS |
WITHOUT_ATTACHMENTS |
| Modifier and Type | Method and Description |
|---|---|
static AttachmentEnum |
fromText(String text) |
String |
getText() |
static AttachmentEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachmentEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachmentEnum ALL
public static final AttachmentEnum WITH_ATTACHMENTS
public static final AttachmentEnum WITHOUT_ATTACHMENTS
public static AttachmentEnum[] values()
for (AttachmentEnum c : AttachmentEnum.values()) System.out.println(c);
public static AttachmentEnum 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 String getText()
public static AttachmentEnum fromText(String text)
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.