@Generated(value="org.jsonschema2pojo") public enum ExpirationMode extends Enum<ExpirationMode>
| Enum Constant and Description |
|---|
NEVEREXPIRE |
RELEASEWHENEXPIRED |
WARNWHENEXPIRED |
| Modifier and Type | Method and Description |
|---|---|
static ExpirationMode |
fromValue(String value) |
String |
toString() |
static ExpirationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpirationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpirationMode NEVEREXPIRE
public static final ExpirationMode RELEASEWHENEXPIRED
public static final ExpirationMode WARNWHENEXPIRED
public static ExpirationMode[] values()
for (ExpirationMode c : ExpirationMode.values()) System.out.println(c);
public static ExpirationMode 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 String toString()
toString in class Enum<ExpirationMode>public static ExpirationMode fromValue(String value)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.