public static enum Expires.Policy extends Enum<Expires.Policy>
Modifier and Type | Method and Description |
---|---|
static Expires.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Expires.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Expires.Policy TIME_HARD
public static final Expires.Policy TIME_SOFT
public static Expires.Policy[] values()
for (Expires.Policy c : Expires.Policy.values()) System.out.println(c);
public static Expires.Policy 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 © 2001–2017 JBoss by Red Hat. All rights reserved.