mesosphere.marathon.client.model.v2.ContainerInfo 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.
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);
}
}