public class InfrastructureUtilsImpl extends Object implements Infrastructure
| Constructor and Description |
|---|
InfrastructureUtilsImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String toDecrypt) |
String |
encrypt(String toEncrypt) |
String |
getClientID(String token) |
String |
getCurrentContext() |
String |
getCurrentContextName() |
String |
getCurrentToken() |
Map<String,String> |
getEnvironmentConfigurationParameters() |
DatabaseConnectionDescriptor |
queryForDatabase(String category,
String name) |
void |
setToken(String token) |
public String getCurrentToken()
getCurrentToken in interface Infrastructurepublic String getCurrentContext()
getCurrentContext in interface Infrastructurepublic String getClientID(String token)
getClientID in interface Infrastructurepublic void setToken(String token)
setToken in interface Infrastructurepublic String getCurrentContextName()
getCurrentContextName in interface Infrastructurepublic String decrypt(String toDecrypt)
decrypt in interface Infrastructurepublic String encrypt(String toEncrypt)
encrypt in interface Infrastructurepublic DatabaseConnectionDescriptor queryForDatabase(String category, String name) throws InternalError
queryForDatabase in interface InfrastructureInternalErrorpublic Map<String,String> getEnvironmentConfigurationParameters()
getEnvironmentConfigurationParameters in interface InfrastructureCopyright © 2020. All Rights Reserved.