com.smartbear.readyapi.client.teststeps.datasource.GridDataSourceBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
package com.smartbear.readyapi.client.teststeps.datasource;
import com.smartbear.readyapi.client.model.DataSource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class GridDataSourceBuilder implements DataSourceBuilder {
private Map> propertyValues = new HashMap<>();
public GridDataSourceBuilder addProperty(String property, List values) {
propertyValues.put(property, values);
return this;
}
@Override
public DataSource build() {
DataSource dataSource = new DataSource();
dataSource.setGrid(propertyValues);
return dataSource;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy