@Portable public enum ClockTypeOption extends Enum<ClockTypeOption>
Modifier and Type | Method and Description |
---|---|
static ClockTypeOption |
get(String clockType) |
String |
getClockTypeAsString() |
static ClockTypeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClockTypeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClockTypeOption PSEUDO
public static final ClockTypeOption REALTIME
public static ClockTypeOption[] values()
for (ClockTypeOption c : ClockTypeOption.values()) System.out.println(c);
public static ClockTypeOption 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 getClockTypeAsString()
public static ClockTypeOption get(String clockType)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.