File tree Expand file tree Collapse file tree
src/main/java/com/github/dockerjava Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,16 +159,16 @@ public interface CreateContainerCmd extends SyncDockerCmd<CreateContainerRespons
159159 * @since 1.19
160160 */
161161 @ CheckForNull
162- Boolean isOomKillDisable ();
162+ Boolean getOomKillDisable ();
163163
164164 @ CheckForNull
165- Boolean isPrivileged ();
165+ Boolean getPrivileged ();
166166
167167 @ CheckForNull
168- Boolean isPublishAllPorts ();
168+ Boolean getPublishAllPorts ();
169169
170170 @ CheckForNull
171- Boolean isReadonlyRootfs ();
171+ Boolean getReadonlyRootfs ();
172172
173173 @ CheckForNull
174174 Boolean isStdInOnce ();
Original file line number Diff line number Diff line change @@ -285,22 +285,6 @@ public VolumesFrom[] getVolumesFrom() {
285285 return volumesFrom ;
286286 }
287287
288- public Boolean isOomKillDisable () {
289- return oomKillDisable ;
290- }
291-
292- public Boolean isPrivileged () {
293- return privileged ;
294- }
295-
296- public Boolean isPublishAllPorts () {
297- return publishAllPorts ;
298- }
299-
300- public Boolean isReadonlyRootfs () {
301- return readonlyRootfs ;
302- }
303-
304288 @ CheckForNull
305289 public String getPidMode () {
306290 return pidMode ;
@@ -701,6 +685,14 @@ public HostConfig withPortBindings(Ports portBindings) {
701685 return this ;
702686 }
703687
688+ /**
689+ * @see #privileged
690+ */
691+ @ CheckForNull
692+ public Boolean getPrivileged () {
693+ return privileged ;
694+ }
695+
704696 /**
705697 * @see #privileged
706698 */
@@ -709,6 +701,14 @@ public HostConfig withPrivileged(Boolean privileged) {
709701 return this ;
710702 }
711703
704+ /**
705+ * @see #publishAllPorts
706+ */
707+ @ CheckForNull
708+ public Boolean getPublishAllPorts () {
709+ return publishAllPorts ;
710+ }
711+
712712 /**
713713 * @see #publishAllPorts
714714 */
@@ -717,6 +717,14 @@ public HostConfig withPublishAllPorts(Boolean publishAllPorts) {
717717 return this ;
718718 }
719719
720+ /**
721+ * @see #readonlyRootfs
722+ */
723+ @ CheckForNull
724+ public Boolean getReadonlyRootfs () {
725+ return readonlyRootfs ;
726+ }
727+
720728 /**
721729 * @see #readonlyRootfs
722730 */
Original file line number Diff line number Diff line change @@ -366,26 +366,26 @@ public Boolean isNetworkDisabled() {
366366
367367 @ Override
368368 @ JsonIgnore
369- public Boolean isOomKillDisable () {
370- return hostConfig .isOomKillDisable ();
369+ public Boolean getOomKillDisable () {
370+ return hostConfig .getOomKillDisable ();
371371 }
372372
373373 @ Override
374374 @ JsonIgnore
375- public Boolean isPrivileged () {
376- return hostConfig .isPrivileged ();
375+ public Boolean getPrivileged () {
376+ return hostConfig .getPrivileged ();
377377 }
378378
379379 @ Override
380380 @ JsonIgnore
381- public Boolean isPublishAllPorts () {
382- return hostConfig .isPublishAllPorts ();
381+ public Boolean getPublishAllPorts () {
382+ return hostConfig .getPublishAllPorts ();
383383 }
384384
385385 @ Override
386386 @ JsonIgnore
387- public Boolean isReadonlyRootfs () {
388- return hostConfig .isReadonlyRootfs ();
387+ public Boolean getReadonlyRootfs () {
388+ return hostConfig .getReadonlyRootfs ();
389389 }
390390
391391 @ Override
You can’t perform that action at this time.
0 commit comments