24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
34 inline namespace Services {
62 UnknownHost() : std::runtime_error(
"I don't know this hosting solution!") {}
64 : std::runtime_error(
"I don't know this hosting solution: " + hostName) {}
88 bool overwritingAllowed()
const;
91 void parseConfigurationFile(
const path& filename);
95 void parseOverwritingPolicy(
const std::string& policy);
112 namespace ElementsServices = Elements::Services;
114 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
DataHost
The test data hosting solution.
defines the macros to be used for explicit export of the symbols
UnknownHost(const std::string &hostName)
OverwritingPolicy
The overwriting policy if the local file already exists.
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
OverwritingPolicy overwritingPolicy
Exception raised when a hosting solution is not supported by the tool.
A class to download test data from a data repository prior to the unit test run.
ELEMENTS_API const std::string & hostName()
Host name.
Path::Item path
importing the path item from ElementsKernel
The connection configuration mainly holds: