Enum ItemTranslateError.ERROR_TYPE
- java.lang.Object
-
- java.lang.Enum<ItemTranslateError.ERROR_TYPE>
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.shared.ItemTranslateError.ERROR_TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<ItemTranslateError.ERROR_TYPE>
- Enclosing class:
- ItemTranslateError
public static enum ItemTranslateError.ERROR_TYPE extends Enum<ItemTranslateError.ERROR_TYPE>
The Enum ERROR_TYPE.- Author:
- Francesco Mangiacrapa at ISTI-CNR Pisa (Italy) Jul 6, 2020
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemTranslateError.ERROR_TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static ItemTranslateError.ERROR_TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final ItemTranslateError.ERROR_TYPE INFO
-
WARN
public static final ItemTranslateError.ERROR_TYPE WARN
-
ERROR
public static final ItemTranslateError.ERROR_TYPE ERROR
-
-
Method Detail
-
values
public static ItemTranslateError.ERROR_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 (ItemTranslateError.ERROR_TYPE c : ItemTranslateError.ERROR_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 ItemTranslateError.ERROR_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
-
-