com.griddynamics.qa.datapool.fetchers.IFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-pool Show documentation
Show all versions of data-pool Show documentation
Test Data Pool tool is intended to mitigate risks of running automated tests against multiple unstable
“FullDB” environments having unpredictable set of data.
The newest version!
package com.griddynamics.qa.datapool.fetchers;
import com.griddynamics.qa.datapool.FetcherConfig;
/**
* A common interface for Data Pool's fetchers.
* @author ELozovan
* Created: 2016-06-21.
*/
public interface IFetcher {
/**
* Standard name of the key to access a settings object in the fetcher configuration properties.
* Implementation shall cast the object to a proper type.
*/
String KEY_NAME_SETTINGS = "FC_SETTINGS";
/**
* Standard name of the key to access an additional settings object in the fetcher configuration properties.
* Implementation shall cast the object to a proper type.
*/
String KEY_NAME_ADDITIONAL_SETTINGS = "FC_ADDITIONAL";
void setFetcherConfig(FetcherConfig fetcherConfig);
/**
* Triggers the fetching.
* @return Object of RESULT_TYPE containing fetched data (e.g. SqlRowSet)
*/
RESULT_TYPE run();
}