forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHealthStateLog.java
More file actions
45 lines (34 loc) · 894 Bytes
/
Copy pathHealthStateLog.java
File metadata and controls
45 lines (34 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.github.dockerjava.api.command;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class HealthStateLog {
@JsonProperty("Start")
private String start;
@JsonProperty("End")
private String end;
@JsonProperty("ExitCode")
private Long exitCode;
@JsonProperty("Output")
private String output;
public String getStart() {
return start;
}
public String getEnd() {
return end;
}
/**
*
* @deprecated use {@link #getExitCodeLong()}
*/
@Deprecated
public Integer getExitCode() {
return exitCode != null ? exitCode.intValue() : null;
}
public Long getExitCodeLong() {
return exitCode;
}
public String getOutput() {
return output;
}
}