Package eu.clarin.sru.client.fcs.utils
Enum ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion
- java.lang.Object
-
- java.lang.Enum<ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion>
-
- eu.clarin.sru.client.fcs.utils.ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion>
- Enclosing class:
- ClarinFCSEndpointVersionAutodetector
public static enum ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion extends Enum<ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion>
The auto-detected FCS version
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FCS_1_0
FCS version 1.0 auto-detectedFCS_2_0
FCS version 2.0 auto-detectedFCS_LEGACY
Legacy FCSUNKNOWN
Unknown FCS version auto-detected
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
getVersion()
Get a numerical representation of the auto-detected version.static ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion UNKNOWN
Unknown FCS version auto-detected
-
FCS_LEGACY
public static final ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion FCS_LEGACY
Legacy FCS
-
FCS_1_0
public static final ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion FCS_1_0
FCS version 1.0 auto-detected
-
FCS_2_0
public static final ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion FCS_2_0
FCS version 2.0 auto-detected
-
-
Method Detail
-
values
public static ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion[] 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 (ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion c : ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClarinFCSEndpointVersionAutodetector.AutodetectedFCSVersion 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
-
getVersion
public abstract int getVersion()
Get a numerical representation of the auto-detected version.- Returns:
- numerical representation of the auto-detected version
-
-