net.serenitybdd.core.buildinfo.BuildProperties Maven / Gradle / Ivy
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);
}
}