public class ConfigFileHandler extends DefaultRestHandler<ConfigFile>
mapper| Constructor and Description |
|---|
ConfigFileHandler(String cloudconductorUrl) |
ConfigFileHandler(String cloudconductorUrl,
String token,
String agent) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<ConfigFile> |
getAPIClass() |
Set<ConfigFile> |
getConfigFilesByTemplate(String template) |
String |
getData(String name) |
protected String |
getDefaultPath() |
void |
saveData(String name,
String data) |
delete, get, get, getSetType, pathGenerator, save_delete, _get, _get, _post, _post, _post, _put, _put, _put, _put, assertSuccess, dataFromResponse, getSetType, objectFromResponse, objectFromResponse, request, request, request, setPasswordMode, setTokenModepublic ConfigFileHandler(String cloudconductorUrl)
cloudconductorUrl - the config server urlprotected String getDefaultPath()
getDefaultPath in class DefaultRestHandler<ConfigFile>protected Class<ConfigFile> getAPIClass()
getAPIClass in class DefaultRestHandler<ConfigFile>public String getData(String name) throws CloudConductorException
name - the config nameCloudConductorException - Error indicating connection or data problemspublic void saveData(String name, String data) throws CloudConductorException
name - the config namedata - the data of the config fileCloudConductorException - Error indicating connection or data problemspublic Set<ConfigFile> getConfigFilesByTemplate(String template) throws CloudConductorException
template - the template nameCloudConductorException - Error indicating connection or data problemsCopyright © 2014-2017 Cinovo AG. All Rights Reserved.