public class GeoNetworkRetriever extends Object implements ObjectRetriever<GeoNetworkConfiguration>
| Constructor and Description |
|---|
GeoNetworkRetriever() |
| Modifier and Type | Method and Description |
|---|---|
protected static Credentials |
fromGeoNetworkAccount(org.gcube.spatial.data.geonetwork.model.Account toTranslate) |
GeoNetworkConfiguration |
getObject() |
protected static org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint |
getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint resource,
String endpointName,
String priorityProperty)
look for the access point compliant with configured endpointName and maxPriority (1)
|
protected static org.gcube.common.resources.gcore.ServiceEndpoint |
getTheRightServiceEndpoint(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources,
String endpointName,
String priorityProperty) |
public GeoNetworkConfiguration getObject() throws ConfigurationNotFoundException
getObject in interface ObjectRetriever<GeoNetworkConfiguration>ConfigurationNotFoundExceptionprotected static final Credentials fromGeoNetworkAccount(org.gcube.spatial.data.geonetwork.model.Account toTranslate)
protected static final org.gcube.common.resources.gcore.ServiceEndpoint getTheRightServiceEndpoint(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources, String endpointName, String priorityProperty)
protected static final org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint resource,
String endpointName,
String priorityProperty)
Copyright © 2017. All Rights Reserved.