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

net.serenitybdd.core.buildinfo.BuildProperties Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package net.serenitybdd.core.buildinfo;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;

import java.util.List;
import java.util.Map;
import java.util.Properties;

/**
 * Created by john on 12/02/15.
 */
public class BuildProperties {

    private final Map generalProperties;
    private final List drivers;
    private final Map driverProperties;

    public BuildProperties(Map generalProperties, List drivers, Map driverProperties) {
        this.generalProperties = generalProperties;
        this.drivers = drivers;
        this.driverProperties = driverProperties;
    }

    public Map getGeneralProperties() {
        return ImmutableMap.copyOf(generalProperties);
    }

    public List getDrivers() {
        return ImmutableList.copyOf(drivers);
    }

    public Map getDriverProperties() {
        return ImmutableMap.copyOf(driverProperties);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy