All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mesosphere.marathon.client.model.v2.Docker Maven / Gradle / Ivy

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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy