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
48 lines (37 loc) · 948 Bytes
/
Copy pathHealthStateLog.java
File metadata and controls
48 lines (37 loc) · 948 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
46
47
48
package com.github.dockerjava.api.command;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.model.DockerObject;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@EqualsAndHashCode
@ToString
public class HealthStateLog extends DockerObject {
@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;
}
}