Package adams.flow.transformer
Enum Copy.CopyType
- java.lang.Object
-
- java.lang.Enum<Copy.CopyType>
-
- adams.flow.transformer.Copy.CopyType
-
- All Implemented Interfaces:
Serializable
,Comparable<Copy.CopyType>
- Enclosing class:
- Copy
public static enum Copy.CopyType extends Enum<Copy.CopyType>
The type of copy to perform.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
CLONEHANDLER
SERIALIZATION
SHALLOWCOPY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Copy.CopyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Copy.CopyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final Copy.CopyType AUTO
-
CLONEHANDLER
public static final Copy.CopyType CLONEHANDLER
-
SERIALIZATION
public static final Copy.CopyType SERIALIZATION
-
SHALLOWCOPY
public static final Copy.CopyType SHALLOWCOPY
-
-
Method Detail
-
values
public static Copy.CopyType[] 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 (Copy.CopyType c : Copy.CopyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Copy.CopyType 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
-
-