public static enum Types.PeriodType extends Enum<Types.PeriodType>
Enum Constant and Description |
---|
LAST_24H |
LAST_30D |
LAST_365D |
LAST_7D |
LAST_HOUR |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Types.PeriodType |
fromValue(String v) |
static Types.PeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.PeriodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.PeriodType LAST_HOUR
public static final Types.PeriodType LAST_24H
public static final Types.PeriodType LAST_7D
public static final Types.PeriodType LAST_30D
public static final Types.PeriodType LAST_365D
public static final Types.PeriodType UNRECOGNIZED
public static Types.PeriodType[] values()
for (Types.PeriodType c : Types.PeriodType.values()) System.out.println(c);
public static Types.PeriodType 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 static Types.PeriodType fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.