Enum ClockSkewDirection
- java.lang.Object
-
- java.lang.Enum<ClockSkewDirection>
-
- org.opennms.nephron.testing.flowgen.ClockSkewDirection
-
- All Implemented Interfaces:
Serializable,Comparable<ClockSkewDirection>
public enum ClockSkewDirection extends Enum<ClockSkewDirection>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClockSkewDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static ClockSkewDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AHEAD
public static final ClockSkewDirection AHEAD
-
BEHIND
public static final ClockSkewDirection BEHIND
-
BOTH
public static final ClockSkewDirection BOTH
-
-
Method Detail
-
values
public static ClockSkewDirection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClockSkewDirection c : ClockSkewDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClockSkewDirection valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-