public enum RateBucketPeriod extends Enum<RateBucketPeriod>
| Enum Constant and Description |
|---|
Day |
Hour |
Minute |
Month |
Second |
Year |
| Modifier and Type | Method and Description |
|---|---|
static RateBucketPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateBucketPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateBucketPeriod Second
public static final RateBucketPeriod Minute
public static final RateBucketPeriod Hour
public static final RateBucketPeriod Day
public static final RateBucketPeriod Month
public static final RateBucketPeriod Year
public static RateBucketPeriod[] values()
for (RateBucketPeriod c : RateBucketPeriod.values()) System.out.println(c);
public static RateBucketPeriod 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 nullCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.