com.xensource.xenapi
Enum Types.TaskAllowedOperations
java.lang.Object
java.lang.Enum<Types.TaskAllowedOperations>
com.xensource.xenapi.Types.TaskAllowedOperations
- All Implemented Interfaces:
- Serializable, Comparable<Types.TaskAllowedOperations>
- Enclosing class:
- Types
public static enum Types.TaskAllowedOperations
- extends Enum<Types.TaskAllowedOperations>
Enum Constant Summary |
CANCEL
refers to the operation "cancel" |
UNRECOGNIZED
The value does not belong to this enumeration |
UNRECOGNIZED
public static final Types.TaskAllowedOperations UNRECOGNIZED
- The value does not belong to this enumeration
CANCEL
public static final Types.TaskAllowedOperations CANCEL
- refers to the operation "cancel"
values
public static Types.TaskAllowedOperations[] 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 (Types.TaskAllowedOperations c : Types.TaskAllowedOperations.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Types.TaskAllowedOperations 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