com.hyper9.simdk.stubs.enums
Enum AutoStartAction
java.lang.Object
java.lang.Enum<AutoStartAction>
com.hyper9.simdk.stubs.enums.AutoStartAction
- All Implemented Interfaces:
- Serializable, Comparable<AutoStartAction>
public enum AutoStartAction
- extends Enum<AutoStartAction>
- Author:
- akutz
Method Summary |
static AutoStartAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AutoStartAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
None
public static final AutoStartAction None
SystemDefault
public static final AutoStartAction SystemDefault
PowerOn
public static final AutoStartAction PowerOn
PowerOff
public static final AutoStartAction PowerOff
GuestShutdown
public static final AutoStartAction GuestShutdown
Suspend
public static final AutoStartAction Suspend
values
public static AutoStartAction[] 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 (AutoStartAction c : AutoStartAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AutoStartAction valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2009-2010 Hyper9. All Rights Reserved.