public static enum AttachmentsHelper.FileState extends Enum<AttachmentsHelper.FileState>
Enum Constant and Description |
---|
ADDED |
PERSISTED |
REMOVED |
UPDATED_TO |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
boolean |
matches(String stateKey) |
static AttachmentsHelper.FileState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachmentsHelper.FileState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachmentsHelper.FileState ADDED
public static final AttachmentsHelper.FileState REMOVED
public static final AttachmentsHelper.FileState PERSISTED
public static final AttachmentsHelper.FileState UPDATED_TO
public static AttachmentsHelper.FileState[] values()
for (AttachmentsHelper.FileState c : AttachmentsHelper.FileState.values()) System.out.println(c);
public static AttachmentsHelper.FileState 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 getKey()
public boolean matches(String stateKey)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.