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

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

There is a newer version: 0.4.9
Show newest version
package mesosphere.marathon.client.model.v2;

import java.util.ArrayList;
import java.util.Collection;

import mesosphere.marathon.client.utils.ModelUtils;

public class ContainerInfo {
	private String image;
	private Collection options;

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Collection getOptions() {
		return options;
	}

	public void setOptions(Collection options) {
		this.options = options;
	}

	public void addOption(String option) {
		if (options == null) {
			options = new ArrayList();
		}
		options.add(option);
	}

	@Override
	public String toString() {
		return ModelUtils.toString(this);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy