public static enum DoiMdsApplication.API_MDS extends Enum<DoiMdsApplication.API_MDS>
ClientMDS
Enum Constant and Description |
---|
CREATE_METADATA
Create metadata.
|
DATACITE_PROBLEM
Internal server error.
|
DOI_VALIDATION
DOI validation error.
|
LANGING_PAGE_VALIDATION
Fail to create the landing page related to the DOI.
|
MEDIA_VALIDATION
Fail to create the media related to the DOI.
|
METADATA_VALIDATION
Fail to validate user input parameter for creating the DOI.
|
NETWORK_PROBLEM
Cannot access to Datacite.
|
SECURITY_USER_CONFLICT
Fail to know privileges of a user.
|
SECURITY_USER_NO_ROLE
Fail to authorize the user.
|
SECURITY_USER_NOT_IN_SELECTED_ROLE
Forbidden to use this role.
|
SECURITY_USER_PERMISSION
Fail to create a DOI.
|
Modifier and Type | Field and Description |
---|---|
private String |
shortMessage
Short message.
|
private org.restlet.data.Status |
status
Message status.
|
Modifier and Type | Method and Description |
---|---|
String |
getShortMessage()
Returns the short message.
|
org.restlet.data.Status |
getStatus()
Returns the status
|
static DoiMdsApplication.API_MDS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoiMdsApplication.API_MDS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoiMdsApplication.API_MDS CREATE_METADATA
public static final DoiMdsApplication.API_MDS SECURITY_USER_NOT_IN_SELECTED_ROLE
public static final DoiMdsApplication.API_MDS SECURITY_USER_NO_ROLE
public static final DoiMdsApplication.API_MDS SECURITY_USER_CONFLICT
public static final DoiMdsApplication.API_MDS SECURITY_USER_PERMISSION
public static final DoiMdsApplication.API_MDS NETWORK_PROBLEM
public static final DoiMdsApplication.API_MDS METADATA_VALIDATION
public static final DoiMdsApplication.API_MDS MEDIA_VALIDATION
public static final DoiMdsApplication.API_MDS LANGING_PAGE_VALIDATION
public static final DoiMdsApplication.API_MDS DOI_VALIDATION
public static final DoiMdsApplication.API_MDS DATACITE_PROBLEM
private final org.restlet.data.Status status
private final String shortMessage
public static DoiMdsApplication.API_MDS[] values()
for (DoiMdsApplication.API_MDS c : DoiMdsApplication.API_MDS.values()) System.out.println(c);
public static DoiMdsApplication.API_MDS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.restlet.data.Status getStatus()
public String getShortMessage()
Copyright © 2017–2020 CNES. All rights reserved.