public static enum AppProperties.STATE extends Enum<AppProperties.STATE>
| Enum Constant and Description | 
|---|
| DOWN | 
| OFF | 
| ON | 
| UNAVAILABLE | 
| UP | 
| Modifier and Type | Method and Description | 
|---|---|
| static AppProperties.STATE | fromString(String text) | 
| static AppProperties.STATE | get(int id) | 
| String | getText() | 
| static AppProperties.STATE | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AppProperties.STATE[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AppProperties.STATE UP
public static final AppProperties.STATE DOWN
public static final AppProperties.STATE UNAVAILABLE
public static final AppProperties.STATE ON
public static final AppProperties.STATE OFF
public static AppProperties.STATE[] values()
for (AppProperties.STATE c : AppProperties.STATE.values()) System.out.println(c);
public static AppProperties.STATE 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 AppProperties.STATE get(int id)
public static AppProperties.STATE fromString(String text)
Copyright © 2015–2019. All rights reserved.