org.voovan.docker.message.service.atom.Endpoint Maven / Gradle / Ivy
Show all versions of JDocker Show documentation
package org.voovan.docker.message.service.atom;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author helyho
*
* DockerFly Framework.
* WebSite: https://git.oschina.net/helyho/JDocker
* Licence: Apache v2 License
*/
public class Endpoint {
private String mode;
private List ports;
private List virtualIPs;
public Endpoint() {
mode = "vip";
ports = new ArrayList();
virtualIPs = new ArrayList();
}
public String getMode() {
return mode;
}
public void setMode(String mode) {
this.mode = mode;
}
public List getPorts() {
return ports;
}
public void setPorts(List ports) {
this.ports = ports;
}
public List getVirtualIPs() {
return virtualIPs;
}
public void setVirtualIPs(List virtualIPs) {
this.virtualIPs = virtualIPs;
}
}