- java.lang.Object
-
- java.lang.Enum<OpParameter.IO_TYPE>
-
- org.scijava.ops.parser.OpParameter.IO_TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<OpParameter.IO_TYPE>
- Enclosing class:
- OpParameter
public static enum OpParameter.IO_TYPE extends Enum<OpParameter.IO_TYPE>
Op parameters must be one of the following types
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpParameter.IO_TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static OpParameter.IO_TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPUT
public static final OpParameter.IO_TYPE INPUT
-
OUTPUT
public static final OpParameter.IO_TYPE OUTPUT
-
MUTABLE
public static final OpParameter.IO_TYPE MUTABLE
-
CONTAINER
public static final OpParameter.IO_TYPE CONTAINER
-
-
Method Detail
-
values
public static OpParameter.IO_TYPE[] 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 (OpParameter.IO_TYPE c : OpParameter.IO_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpParameter.IO_TYPE 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
-
-