8000 Add setters for security options and runtimes (#2384) · LarryNorth/docker-java@6ae1eb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ae1eb4

Browse files
authored
Add setters for security options and runtimes (docker-java#2384)
1 parent 2d129c3 commit 6ae1eb4

File tree

1 file changed

+19
-0
lines changed
  • docker-java-api/src/main/java/com/github/dockerjava/api/model

1 file changed

+19
-0
lines changed

docker-java-api/src/main/java/com/github/dockerjava/api/model/Info.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,14 +1108,33 @@ public Info withIsolation(String isolation) {
11081108
return this;
11091109
}
11101110

1111+
/**
1112+
* @see #securityOptions
1113+
*/
11111114
public List<String> getSecurityOptions() {
11121115
return securityOptions;
11131116
}
11141117

1118+
/**
1119+
* @see #securityOptions
1120+
*/
1121+
public Info withSecurityOptions(List<String> securityOptions) {
1122+
this.securityOptions = securityOptions;
1123+
return this;
1124+
}
1125+
11151126
/**
11161127
* @see #runtimes
11171128
*/
11181129
public Map<String, RuntimeInfo> getRuntimes() {
11191130
return runtimes;
11201131
}
1132+
1133+
/**
1134+
* @see #runtimes
1135+
*/
1136+
public Info withRuntimes(Map<String, RuntimeInfo> runtimes) {
1137+
this.runtimes = runtimes;
1138+
return this;
1139+
}
11211140
}

0 commit comments

Comments
 (0)
0