org.voovan.docker.message.node.atom.Spec Maven / Gradle / Ivy
Show all versions of JDocker Show documentation
package org.voovan.docker.message.node.atom;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author helyho
*
* DockerFly Framework.
* WebSite: https://git.oschina.net/helyho/JDocker
* Licence: Apache v2 License
*/
public class Spec {
private String name;
private String role;
private String availability;
private Map labels;
public Spec() {
labels = new HashMap();
}
public String getRole() {
return role;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void setRole(String role) {
this.role = role;
}
public String getAvailability() {
return availability;
}
public void setAvailability(String availability) {
this.availability = availability;
}
public Map getLabels() {
return labels;
}
public void setLabels(Map labels) {
this.labels = labels;
}
}