Package com.jgcomptech.tools
Enum OSInfo.Windows.Activation.Status
- java.lang.Object
-
- java.lang.Enum<OSInfo.Windows.Activation.Status>
-
- com.jgcomptech.tools.OSInfo.Windows.Activation.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OSInfo.Windows.Activation.Status>
- Enclosing class:
- OSInfo.Windows.Activation
public static enum OSInfo.Windows.Activation.Status extends java.lang.Enum<OSInfo.Windows.Activation.Status>
A list of Activation statuses that are the result of the methods in theOSInfo.Windows.Activation
class.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ExtendedGrace
Licensed
NonGenuineGrace
Notification
OutOfBoxGrace
OutOfToleranceGrace
Unknown
Unlicensed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OSInfo.Windows.Activation.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OSInfo.Windows.Activation.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unlicensed
public static final OSInfo.Windows.Activation.Status Unlicensed
-
Licensed
public static final OSInfo.Windows.Activation.Status Licensed
-
OutOfBoxGrace
public static final OSInfo.Windows.Activation.Status OutOfBoxGrace
-
OutOfToleranceGrace
public static final OSInfo.Windows.Activation.Status OutOfToleranceGrace
-
NonGenuineGrace
public static final OSInfo.Windows.Activation.Status NonGenuineGrace
-
Notification
public static final OSInfo.Windows.Activation.Status Notification
-
ExtendedGrace
public static final OSInfo.Windows.Activation.Status ExtendedGrace
-
Unknown
public static final OSInfo.Windows.Activation.Status Unknown
-
-
Method Detail
-
values
public static OSInfo.Windows.Activation.Status[] 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 (OSInfo.Windows.Activation.Status c : OSInfo.Windows.Activation.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OSInfo.Windows.Activation.Status 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 namejava.lang.NullPointerException
- if the argument is null
-
-