Package utility
Enum UtilDataset.Operation
- java.lang.Object
-
- java.lang.Enum<UtilDataset.Operation>
-
- utility.UtilDataset.Operation
-
- All Implemented Interfaces:
Serializable
,Comparable<UtilDataset.Operation>
- Enclosing class:
- UtilDataset
public static enum UtilDataset.Operation extends Enum<UtilDataset.Operation>
Operation enum for setting the type of dataset request that will be performed.- Author:
- Frank Giordano
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtilDataset.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static UtilDataset.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
create
public static final UtilDataset.Operation create
-
read
public static final UtilDataset.Operation read
-
copy
public static final UtilDataset.Operation copy
-
delete
public static final UtilDataset.Operation delete
-
write
public static final UtilDataset.Operation write
-
download
public static final UtilDataset.Operation download
-
-
Method Detail
-
values
public static UtilDataset.Operation[] 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 (UtilDataset.Operation c : UtilDataset.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtilDataset.Operation 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 nameNullPointerException
- if the argument is null
-
-