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.
The newest version!
package mesosphere.marathon.client.model.v2;
import java.util.Collection;
import mesosphere.marathon.client.utils.ModelUtils;
public class Task {
private String host;
private String id;
private String appId;
private Collection ports;
private String stagedAt;
private String startedAt;
private Collection healthCheckResults;
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public Collection getPorts() {
return ports;
}
public void setPorts(Collection ports) {
this.ports = ports;
}
public String getStagedAt() {
return stagedAt;
}
public void setStagedAt(String stagedAt) {
this.stagedAt = stagedAt;
}
public String getStartedAt() {
return startedAt;
}
public void setStartedAt(String startedAt) {
this.startedAt = startedAt;
}
public Collection getHealthCheckResults() {
return healthCheckResults;
}
public void setHealthCheckResults(Collection healthCheckResults) {
this.healthCheckResults = healthCheckResults;
}
@Override
public String toString() {
return ModelUtils.toString(this);
}
}