mesosphere.marathon.client.model.v2.Docker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marathon-client Show documentation
Show all versions of marathon-client Show documentation
A Java API client for Mesosphere's Marathon.
The newest version!
package mesosphere.marathon.client.model.v2;
import mesosphere.marathon.client.utils.ModelUtils;
import java.util.Collection;
import java.util.List;
public class Docker {
private String image;
private String network;
private boolean forcePullImage;
private Collection portMappings;
private List parameters;
private boolean privileged;
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public String getNetwork() {
return network;
}
public void setNetwork(String network) {
this.network = network;
}
public Collection getPortMappings() {
return portMappings;
}
public void setPortMappings(Collection portMappings) {
this.portMappings = portMappings;
}
public boolean isPrivileged() {
return privileged;
}
public void setPrivileged(boolean privileged) {
this.privileged = privileged;
}
public List getParameters() {
return parameters;
}
public void setParameters(List parameters) {
this.parameters = parameters;
}
public boolean isForcePullImage() {
return forcePullImage;
}
public void setForcePullImage(boolean forcePullImage) {
this.forcePullImage = forcePullImage;
}
@Override
public String toString() {
return ModelUtils.toString(this);
}
}