public class JobStatus extends Object
{
"deployments" : {
"host1" : {
"goal" : "START",
"jobId" : "myservice:0.5:3539b7bc2235d53f79e6e8511942bbeaa8816265"
},
"host2" : {
"goal" : "START",
"jobId" : "myservice:0.5:3539b7bc2235d53f79e6e8511942bbeaa8816265"
},
"host3" : {
"goal" : "START",
"jobId" : "myservice:0.5:3539b7bc2235d53f79e6e8511942bbeaa8816265"
},
},
"job" : { #... see definition of Job },
"taskStatuses" : {
"host1" : { #... see definition of TaskStatus }
"host2" : { #... see definition of TaskStatus }
"host3" : { #... see definition of TaskStatus }
}
}
| Modifier and Type | Class and Description |
|---|---|
static class |
JobStatus.Builder |
| Constructor and Description |
|---|
JobStatus(Job job,
Map<String,TaskStatus> taskStatuses,
Map<String,Deployment> deployments) |
JobStatus(JobStatus.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,Deployment> |
getDeployments() |
Job |
getJob() |
Map<String,TaskStatus> |
getTaskStatuses() |
int |
hashCode() |
static JobStatus.Builder |
newBuilder() |
String |
toString() |
public JobStatus(Job job, Map<String,TaskStatus> taskStatuses, Map<String,Deployment> deployments)
public JobStatus(JobStatus.Builder builder)
public Job getJob()
public Map<String,TaskStatus> getTaskStatuses()
public Map<String,Deployment> getDeployments()
public static JobStatus.Builder newBuilder()
Copyright © 2016. All rights reserved.