Enum Constant and Description |
---|
FourHours
After four hours of inactivity.
|
Never
Never enter standby mode.
|
OneHour
After one hour of inactivity.
|
ThirtyMinutes
After thirty minutes of inactivity.
|
TwoHours
After two hours of inactivity.
|
Modifier and Type | Method and Description |
---|---|
static Timeout |
fromString(String text)
Returns the Timeout enumeration for the specified text or null if no enumeration matches the specified text.
|
String |
getValue()
Returns the integer representation of the enumeration member.
|
static Timeout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Timeout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Timeout Never
public static final Timeout ThirtyMinutes
public static final Timeout OneHour
public static final Timeout TwoHours
public static final Timeout FourHours
public static Timeout[] values()
for (Timeout c : Timeout.values()) System.out.println(c);
public static Timeout 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 getValue()
public static Timeout fromString(String text)
text
- Text representation of the specified enumeration member.
© 2016 ZIH Corp. All Rights Reserved.