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