public enum StateView extends Enum<StateView>
Enum containing all the possible state views.
| Enum Constant and Description | 
|---|
ACTIVE  | 
ARCHIVED  | 
COMPLETED  | 
DISABLED  | 
INACTIVE  | 
INTERRUPTED  | 
PENDING  | 
PENDING_INACTIVE  | 
| Modifier and Type | Method and Description | 
|---|---|
static StateView | 
find(String state)
Finds a new state view instance by the given state. 
 | 
String | 
getState()  | 
com.google.common.collect.ImmutableList<ViewName> | 
getViews()  | 
static StateView | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StateView[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StateView ACTIVE
public static final StateView INACTIVE
public static final StateView PENDING
public static final StateView PENDING_INACTIVE
public static final StateView ARCHIVED
public static final StateView COMPLETED
public static final StateView INTERRUPTED
public static final StateView DISABLED
public static StateView[] values()
for (StateView c : StateView.values()) System.out.println(c);
public static StateView 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 static StateView find(String state)
Finds a new state view instance by the given state.
state - the state of the state view to createIllegalArgumentException - if the id is not knownpublic String getState()
public com.google.common.collect.ImmutableList<ViewName> getViews()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.