public enum ViewState extends Enum<ViewState>
| Enum Constant and Description |
|---|
MARKET_READY |
PRIVATE |
PUBLISHED |
| Modifier and Type | Method and Description |
|---|---|
static ViewState |
getTypeByString(String state) |
int |
getVal() |
static ViewState |
lookup(int val) |
static ViewState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewState PRIVATE
public static final ViewState MARKET_READY
public static final ViewState PUBLISHED
public static ViewState[] values()
for (ViewState c : ViewState.values()) System.out.println(c);
public static ViewState 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 getVal()
public static ViewState lookup(int val)
Copyright © 2023. All rights reserved.