![JAR search and dependency download from the Maven repository](/logo.png)
mesosphere.marathon.client.model.v2.Task 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.Collection;
import mesosphere.client.common.ModelUtils;
public class Task {
private String id;
private String agentId;
private String host;
private String state;
private String startedAt;
private String stagedAt;
private Collection ports;
private String version;
private Collection ipAddresses;
private String appId;
private Collection servicePorts;
private Collection healthCheckResults;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getAgentId() {
return agentId;
}
public void setAgentId(String agentId) {
this.agentId = agentId;
}
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getStartedAt() {
return startedAt;
}
public void setStartedAt(String startedAt) {
this.startedAt = startedAt;
}
public String getStagedAt() {
return stagedAt;
}
public void setStagedAt(String stagedAt) {
this.stagedAt = stagedAt;
}
public Collection getPorts() {
return ports;
}
public void setPorts(Collection ports) {
this.ports = ports;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public Collection getIpAddresses() {
return ipAddresses;
}
public void setIpAddresses(Collection ipAddresses) {
this.ipAddresses = ipAddresses;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public Collection getServicePorts() {
return servicePorts;
}
public void setServicePorts(Collection servicePorts) {
this.servicePorts = servicePorts;
}
public Collection getHealthCheckResults() {
return healthCheckResults;
}
public void setHealthCheckResults(Collection healthCheckResults) {
this.healthCheckResults = healthCheckResults;
}
@Override
public String toString() {
return ModelUtils.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy