Package org.gbif.api.vocabulary
Enum InstallationType
- java.lang.Object
-
- java.lang.Enum<InstallationType>
-
- org.gbif.api.vocabulary.InstallationType
-
- All Implemented Interfaces:
Serializable
,Comparable<InstallationType>
public enum InstallationType extends Enum<InstallationType>
Enumeration for all possible installation types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOCASE_INSTALLATION
DIGIR_INSTALLATION
EARTHCAPE_INSTALLATION
HTTP_INSTALLATION
IPT_INSTALLATION
MDT_INSTALLATION
SYMBIOTA_INSTALLATION
TAPIR_INSTALLATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstallationType
fromString(String installationType)
static InstallationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstallationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IPT_INSTALLATION
public static final InstallationType IPT_INSTALLATION
-
DIGIR_INSTALLATION
public static final InstallationType DIGIR_INSTALLATION
-
TAPIR_INSTALLATION
public static final InstallationType TAPIR_INSTALLATION
-
BIOCASE_INSTALLATION
public static final InstallationType BIOCASE_INSTALLATION
-
HTTP_INSTALLATION
public static final InstallationType HTTP_INSTALLATION
-
SYMBIOTA_INSTALLATION
public static final InstallationType SYMBIOTA_INSTALLATION
-
EARTHCAPE_INSTALLATION
public static final InstallationType EARTHCAPE_INSTALLATION
-
MDT_INSTALLATION
public static final InstallationType MDT_INSTALLATION
-
-
Method Detail
-
values
public static InstallationType[] 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 (InstallationType c : InstallationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstallationType 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
-
fromString
public static InstallationType fromString(String installationType)
- Returns:
- the matching InstallationType or null
-
-