com.relevantcodes.extentreports.model.SystemProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extentreports Show documentation
Show all versions of extentreports Show documentation
An open-source reporting library for Java, .Net and Ruby.
/*
* Copyright (c) 2015, Anshoo Arora (Relevant Codes). All rights reserved.
*
* Copyrights licensed under the New BSD License.
*
* See the accompanying LICENSE file for terms.
*/
package com.relevantcodes.extentreports.model;
import java.util.LinkedHashMap;
import java.util.Map;
public class SystemProperties {
public void setSystemInfo(Map info) {
//if (this.info.size() > 0)
//info.putAll(this.info);
//this.info = info;
this.info.putAll(info);
}
public void setSystemInfo(String k, String v) {
info.put(k, v);
}
public Map getSystemInfo() {
return info;
}
public SystemProperties() {
info = new LinkedHashMap();
}
private Map info;
}