public class ClientLandingPage extends BaseClient
Modifier and Type | Field and Description |
---|---|
private static String |
BASE_URI
DOI name resolver "http://doi.org".
|
private Map<String,org.restlet.data.Status> |
errors
List of offline landing pages.
|
DATACITE_MOCKSERVER_PORT
Constructor and Description |
---|
ClientLandingPage(List<String> dois)
Constructor
|
Modifier and Type | Method and Description |
---|---|
private void |
checkDoi(List<String> dois)
Tests for each DOI if the landing page is online.
|
Map<String,org.restlet.data.Status> |
getErrors()
Returns the errors.
|
boolean |
isError()
Returns True when there is more than zero error otherwise False
|
boolean |
isSuccess()
Returns true when there is no error otherwise False.
|
getClient, getLog
private static final String BASE_URI
private void checkDoi(List<String> dois)
dois
- dois to checkpublic boolean isSuccess()
public boolean isError()
Copyright © 2017–2020 CNES. All rights reserved.