com.sun.pkg.client
Enum SystemInfo.UpdateCheckFrequency
java.lang.Object
java.lang.Enum<SystemInfo.UpdateCheckFrequency>
com.sun.pkg.client.SystemInfo.UpdateCheckFrequency
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SystemInfo.UpdateCheckFrequency>
- Enclosing class:
- SystemInfo
public static enum SystemInfo.UpdateCheckFrequency
- extends java.lang.Enum<SystemInfo.UpdateCheckFrequency>
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 |
NEVER
public static final SystemInfo.UpdateCheckFrequency NEVER
DAILY
public static final SystemInfo.UpdateCheckFrequency DAILY
WEEKLY
public static final SystemInfo.UpdateCheckFrequency WEEKLY
MONTHLY
public static final SystemInfo.UpdateCheckFrequency MONTHLY
values
public static SystemInfo.UpdateCheckFrequency[] 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 (SystemInfo.UpdateCheckFrequency c : SystemInfo.UpdateCheckFrequency.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SystemInfo.UpdateCheckFrequency 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