public class Configuration extends Object
| Constructor and Description |
|---|
Configuration(String scope,
boolean dtsFilter) |
Configuration(String scope,
String user,
String password,
boolean dtsFilter) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAccountingPassword(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
The accounting password is retrieved from the first serviceEndpoint found in the scope and the first accessPoint inside the serviceEndpoint
|
protected String |
getAccountingUser(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
The accounting user is retrieved from the first serviceEndpoint found in the scope and the first accessPoint inside the serviceEndpoint
|
String |
getBackendType() |
ArrayList<String> |
getDtsHosts() |
String |
getHosts(String serviceClass,
String serviceName) |
String |
getHosts(String serviceClass,
String serviceName,
String scope) |
String |
getPassword() |
String |
getScope() |
String[] |
getServer() |
String[] |
getServerAccess(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources) |
String[] |
getServerRRFws(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources) |
protected List<org.gcube.common.resources.gcore.ServiceEndpoint> |
getStorageServiceEndpoint() |
String |
getUsername() |
boolean |
isActiveDTSFilter() |
List<String> |
retrieveDTSHosts() |
void |
setActiveDTSFilter(boolean activeDTSFilter) |
void |
setBackendType(String backendType) |
void |
setDtsHosts(ArrayList<String> dtsHosts) |
void |
setPassword(String password) |
void |
setScope(String scope) |
void |
setServer(String[] server) |
void |
setUsername(String username) |
public Configuration(String scope, boolean dtsFilter)
public String[] getServerAccess(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
public String[] getServerRRFws(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
protected String getAccountingUser(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
resources - the serviceEndpoint listprotected String getAccountingPassword(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources)
resources - the serviceEndpoint listprotected List<org.gcube.common.resources.gcore.ServiceEndpoint> getStorageServiceEndpoint()
public String getScope()
public void setScope(String scope)
public String[] getServer()
public void setServer(String[] server)
public String getBackendType()
public void setBackendType(String backendType)
public boolean isActiveDTSFilter()
public void setActiveDTSFilter(boolean activeDTSFilter)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
Copyright © 2019. All Rights Reserved.