com.alexecollins.docker.orchestration.model.Conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java-orchestration Show documentation
Show all versions of docker-java-orchestration Show documentation
A library for orchestrating Docker containers.
package com.alexecollins.docker.orchestration.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang.StringUtils;
import java.util.List;
import java.util.Map;
import static java.util.Collections.emptyList;
import static java.util.Collections.emptyMap;
@SuppressWarnings("CanBeFinal")
public class Conf {
@JsonProperty(required = false)
private String tag = null;
@JsonProperty(required = false)
private List links = emptyList();
@JsonProperty(required = false)
private Packaging packaging = new Packaging();
@JsonProperty(required = false)
private List ports = emptyList();
@JsonProperty(required = false)
private List volumesFrom = emptyList();
@JsonProperty(required = false)
private HealthChecks healthChecks = new HealthChecks();
@JsonProperty(required = false)
private Map env = emptyMap();
@JsonProperty(required = false)
private Map volumes = emptyMap();
public boolean hasTag() {
return !StringUtils.isBlank(tag);
}
public String getTag() {
return tag;
}
public List getLinks() {
return links;
}
public List getPorts() {
return ports;
}
public HealthChecks getHealthChecks() {
return healthChecks;
}
public List getVolumesFrom() {
return volumesFrom;
}
public Packaging getPackaging() {
return packaging;
}
public void setTag(String tag) {
this.tag = tag;
}
public Map getEnv() { return this.env; }
public Map getVolumes() {
return volumes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy