All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartbear.readyapi.client.teststeps.datasource.GridDataSourceBuilder Maven / Gradle / Ivy

Go to download

Java client library for creating and executing test recipes against Ready!API TestServer

The newest version!
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