Package com.mindee.v2.cli
Enum SearchModelsCommand.ModelType
- java.lang.Object
-
- java.lang.Enum<SearchModelsCommand.ModelType>
-
- com.mindee.v2.cli.SearchModelsCommand.ModelType
-
- All Implemented Interfaces:
Serializable,Comparable<SearchModelsCommand.ModelType>
- Enclosing class:
- SearchModelsCommand
public static enum SearchModelsCommand.ModelType extends Enum<SearchModelsCommand.ModelType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description classificationcropextractionocrsplit
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchModelsCommand.ModelTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SearchModelsCommand.ModelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
extraction
public static final SearchModelsCommand.ModelType extraction
-
crop
public static final SearchModelsCommand.ModelType crop
-
classification
public static final SearchModelsCommand.ModelType classification
-
ocr
public static final SearchModelsCommand.ModelType ocr
-
split
public static final SearchModelsCommand.ModelType split
-
-
Method Detail
-
values
public static SearchModelsCommand.ModelType[] 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 (SearchModelsCommand.ModelType c : SearchModelsCommand.ModelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchModelsCommand.ModelType 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
-
-