com.jn.langx.util.os.virtualization.RuntimeContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langx-java Show documentation
Show all versions of langx-java Show documentation
Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang.
Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...
package com.jn.langx.util.os.virtualization;
import java.util.Map;
public class RuntimeContainer {
/**
* 容器类型,目前最为流行的是 docker
*/
private String type;
private Map props;
public RuntimeContainer(String type){
this.type = type;
}
public RuntimeContainer(String type, Map props){
this.type = type;
this.props = props;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Map getProps() {
return props;
}
public void setProps(Map props) {
this.props = props;
}
}