Skip navigation links
oracle.security.jps.service
Enum JpsPersistable.Mode
java.lang.Object
java.lang.Enum<JpsPersistable.Mode>
oracle.security.jps.service.JpsPersistable.Mode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JpsPersistable.Mode>
- Enclosing interface:
- JpsPersistable
-
public static enum JpsPersistable.Mode
- extends java.lang.Enum<JpsPersistable.Mode>
Method Summary |
static JpsPersistable.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JpsPersistable.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ON_UPDATE
public static final JpsPersistable.Mode ON_UPDATE
ON_TIMER
public static final JpsPersistable.Mode ON_TIMER
ON_SHUTDOWN
public static final JpsPersistable.Mode ON_SHUTDOWN
NEVER
public static final JpsPersistable.Mode NEVER
ALWAYS
public static final JpsPersistable.Mode ALWAYS
values
public static JpsPersistable.Mode[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JpsPersistable.Mode c : JpsPersistable.Mode.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static JpsPersistable.Mode valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
Skip navigation links
Copyright © 2011, 2013 Oracle. All rights reserved.