| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,9 +8,11 @@ | |||
| 8 | 8 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 9 | 9 | ||
| 10 | 10 | import javax.annotation.CheckForNull; | |
| 11 | + import java.io.Serializable; | ||
| 11 | 12 | ||
| 12 | 13 | @JsonInclude(Include.NON_NULL) | |
| 13 | - public class AuthConfig { | ||
| 14 | + public class AuthConfig implements Serializable { | ||
| 15 | + private static final long serialVersionUID = 1L; | ||
| 14 | 16 | ||
| 15 | 17 | /** | |
| 16 | 18 | * For backwards compatibility. Make sure you update the properties if you change this. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,13 @@ | |||
| 1 | 1 | package com.github.dockerjava.api.model; | |
| 2 | 2 | ||
| 3 | + import java.io.Serializable; | ||
| 3 | 4 | import java.util.Map; | |
| 4 | 5 | import java.util.TreeMap; | |
| 5 | 6 | ||
| 6 | 7 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 7 | 8 | ||
| 8 | - public class AuthConfigurations { | ||
| 9 | + public class AuthConfigurations implements Serializable { | ||
| 10 | + private static final long serialVersionUID = 1L; | ||
| 9 | 11 | ||
| 10 | 12 | @JsonProperty("configs") | |
| 11 | 13 | private Map<String, AuthConfig> configs = new TreeMap<>(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 4 | 4 | ||
| 5 | - public class AuthResponse { | ||
| 5 | + import java.io.Serializable; | ||
| 6 | + | ||
| 7 | + public class AuthResponse implements Serializable { | ||
| 8 | + private static final long serialVersionUID = 1L; | ||
| 9 | + | ||
| 6 | 10 | @JsonProperty("Status") | |
| 7 | 11 | private String status; | |
| 8 | 12 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,11 +3,14 @@ | |||
| 3 | 3 | import org.apache.commons.lang.builder.EqualsBuilder; | |
| 4 | 4 | import org.apache.commons.lang.builder.HashCodeBuilder; | |
| 5 | 5 | ||
| 6 | + import java.io.Serializable; | ||
| 7 | + | ||
| 6 | 8 | /** | |
| 7 | 9 | * Represents a host path being bind mounted as a {@link Volume} in a Docker container. | |
| 8 | 10 | * The Bind can be in read only or read write access mode. | |
| 9 | 11 | */ | |
| 10 | - public class Bind { | ||
| 12 | + public class Bind implements Serializable { | ||
| 13 | + private static final long serialVersionUID = 1L; | ||
| 11 | 14 | ||
| 12 | 15 | private String path; | |
| 13 | 16 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | package com.github.dockerjava.api.model; | |
| 2 | 2 | ||
| 3 | 3 | import java.io.IOException; | |
| 4 | + import java.io.Serializable; | ||
| 4 | 5 | import java.util.ArrayList; | |
| 5 | 6 | import java.util.Iterator; | |
| 6 | 7 | import java.util.List; | |
@@ -19,7 +20,8 @@ | |||
| 19 | 20 | ||
| 20 | 21 | @JsonSerialize(using = Binds.Serializer.class) | |
| 21 | 22 | @JsonDeserialize(using = Binds.Deserializer.class) | |
| 22 | - public class Binds { | ||
| 23 | + public class Binds implements Serializable { | ||
| 24 | + private static final long serialVersionUID = 1L; | ||
| 23 | 25 | ||
| 24 | 26 | private Bind[] binds; | |
| 25 | 27 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,6 @@ | |||
| 8 | 8 | */ | |
| 9 | 9 | @JsonIgnoreProperties(ignoreUnknown = true) | |
| 10 | 10 | public class BuildResponseItem extends ResponseItem { | |
| 11 | - | ||
| 12 | 11 | private static final long serialVersionUID = -1252904184236343612L; | |
| 13 | 12 | ||
| 14 | 13 | private static final String BUILD_SUCCESS = "Successfully built"; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,13 +5,16 @@ | |||
| 5 | 5 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
| 6 | 6 | import com.fasterxml.jackson.annotation.JsonProperty; | |
| 7 | 7 | ||
| 8 | + import java.io.Serializable; | ||
| 9 | + | ||
| 8 | 10 | /** | |
| 9 | 11 | * | |
| 10 | 12 | * @author Konstantin Pelykh (kpelykh@gmail.com) | |
| 11 | 13 | * | |
| 12 | 14 | */ | |
| 13 | 15 | @JsonIgnoreProperties(ignoreUnknown = true) | |
| 14 | - public class ChangeLog { | ||
| 16 | + public class ChangeLog implements Serializable { | ||
| 17 | + private static final long serialVersionUID = 1L; | ||
| 15 | 18 | ||
| 16 | 19 | @JsonProperty("Path") | |
| 17 | 20 | private String path; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,6 +11,7 @@ | |||
| 11 | 11 | import org.apache.commons.lang.builder.ToStringBuilder; | |
| 12 | 12 | ||
| 13 | 13 | import javax.annotation.CheckForNull; | |
| 14 | + import java.io.Serializable; | ||
| 14 | 15 | import java.util.Map; | |
| 15 | 16 | ||
| 16 | 17 | /** | |
@@ -20,7 +21,8 @@ | |||
| 20 | 21 | */ | |
| 21 | 22 | @JsonIgnoreProperties(ignoreUnknown = true) | |
| 22 | 23 | @JsonInclude(Include.NON_NULL) | |
| 23 | - public class Container { | ||
| 24 | + public class Container implements Serializable { | ||
| 25 | + private static final long serialVersionUID = 1L; | ||
| 24 | 26 | ||
| 25 | 27 | @JsonProperty("Command") | |
| 26 | 28 | private String command; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ | |||
| 10 | 10 | import org.apache.commons.lang.builder.ToStringBuilder; | |
| 11 | 11 | ||
| 12 | 12 | import javax.annotation.CheckForNull; | |
| 13 | + import java.io.Serializable; | ||
| 13 | 14 | import java.util.Map; | |
| 14 | 15 | ||
| 15 | 16 | /** | |
@@ -19,7 +20,8 @@ | |||
| 19 | 20 | */ | |
| 20 | 21 | @JsonIgnoreProperties(ignoreUnknown = true) | |
| 21 | 22 | @JsonInclude(Include.NON_NULL) | |
| 22 | - public class ContainerConfig { | ||
| 23 | + public class ContainerConfig implements Serializable { | ||
| 24 | + private static final long serialVersionUID = 1L; | ||
| 23 | 25 | ||
| 24 | 26 | @JsonProperty("AttachStderr") | |
| 25 | 27 | private Boolean attachStderr; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,14 +6,18 @@ | |||
| 6 | 6 | import org.apache.commons.lang.builder.HashCodeBuilder; | |
| 7 | 7 | import org.apache.commons.lang.builder.ToStringBuilder; | |
| 8 | 8 | ||
| 9 | + import java.io.Serializable; | ||
| 10 | + | ||
| 9 | 11 | /** | |
| 10 | 12 | * Used in {@link Container} | |
| 11 | 13 | * | |
| 12 | 14 | * @see Container | |
| 13 | 15 | * @author Kanstantsin Shautsou | |
| 14 | 16 | */ | |
| 15 | 17 | @JsonIgnoreProperties(ignoreUnknown = true) | |
| 16 | - public class ContainerHostConfig { | ||
| 18 | + public class ContainerHostConfig implements Serializable { | ||
| 19 | + private static final long serialVersionUID = 1L; | ||
| 20 | + | ||
| 17 | 21 | @JsonProperty("NetworkMode") | |
| 18 | 22 | private String networkMode; | |
| 19 | 23 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments