Enum EdalHttpFunctions
- java.lang.Object
-
- java.lang.Enum<EdalHttpFunctions>
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.EdalHttpFunctions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EdalHttpFunctions>
,java.lang.constant.Constable
public enum EdalHttpFunctions extends java.lang.Enum<EdalHttpFunctions>
Enum
to collect all function that are provided by theEdalHttpServer
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT
Accept the request for aPublicReference
CSS
DOI
DOWNLOAD
Download aPrimaryDataFile
.EDAL
Access a landing page for aPrimaryDataEntity
.JS
LOGIN
LOGO
OAI
REJECT
Reject the request for aPublicReference
REPORT
URL
USER_ACCEPT
USER_REJECT
ZIP
-
Method Summary
Modifier and Type Method Description static EdalHttpFunctions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EdalHttpFunctions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT
public static final EdalHttpFunctions ACCEPT
Accept the request for aPublicReference
-
REJECT
public static final EdalHttpFunctions REJECT
Reject the request for aPublicReference
-
DOWNLOAD
public static final EdalHttpFunctions DOWNLOAD
Download aPrimaryDataFile
.
-
EDAL
public static final EdalHttpFunctions EDAL
Access a landing page for aPrimaryDataEntity
.
-
LOGIN
public static final EdalHttpFunctions LOGIN
-
DOI
public static final EdalHttpFunctions DOI
-
URL
public static final EdalHttpFunctions URL
-
LOGO
public static final EdalHttpFunctions LOGO
-
ZIP
public static final EdalHttpFunctions ZIP
-
CSS
public static final EdalHttpFunctions CSS
-
JS
public static final EdalHttpFunctions JS
-
USER_ACCEPT
public static final EdalHttpFunctions USER_ACCEPT
-
USER_REJECT
public static final EdalHttpFunctions USER_REJECT
-
REPORT
public static final EdalHttpFunctions REPORT
-
OAI
public static final EdalHttpFunctions OAI
-
-
Method Detail
-
values
public static EdalHttpFunctions[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EdalHttpFunctions valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-