- java.lang.Object
-
- java.lang.Enum<OpCandidate.StatusCode>
-
- org.scijava.ops.engine.matcher.OpCandidate.StatusCode
-
- All Implemented Interfaces:
Serializable,Comparable<OpCandidate.StatusCode>
- Enclosing class:
- OpCandidate
public static enum OpCandidate.StatusCode extends Enum<OpCandidate.StatusCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARG_TYPES_DO_NOT_MATCHCANNOT_CONVERTDOES_NOT_CONFORMMATCHOTHEROUTPUT_TYPES_DO_NOT_MATCHREQUIRED_ARG_IS_NULLTOO_FEW_ARGSTOO_MANY_ARGS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpCandidate.StatusCodevalueOf(String name)Returns the enum constant of this type with the specified name.static OpCandidate.StatusCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATCH
public static final OpCandidate.StatusCode MATCH
-
OUTPUT_TYPES_DO_NOT_MATCH
public static final OpCandidate.StatusCode OUTPUT_TYPES_DO_NOT_MATCH
-
TOO_MANY_ARGS
public static final OpCandidate.StatusCode TOO_MANY_ARGS
-
TOO_FEW_ARGS
public static final OpCandidate.StatusCode TOO_FEW_ARGS
-
ARG_TYPES_DO_NOT_MATCH
public static final OpCandidate.StatusCode ARG_TYPES_DO_NOT_MATCH
-
REQUIRED_ARG_IS_NULL
public static final OpCandidate.StatusCode REQUIRED_ARG_IS_NULL
-
CANNOT_CONVERT
public static final OpCandidate.StatusCode CANNOT_CONVERT
-
DOES_NOT_CONFORM
public static final OpCandidate.StatusCode DOES_NOT_CONFORM
-
OTHER
public static final OpCandidate.StatusCode OTHER
-
-
Method Detail
-
values
public static OpCandidate.StatusCode[] 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 (OpCandidate.StatusCode c : OpCandidate.StatusCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpCandidate.StatusCode 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
-
-