com.github.dockerjava.api.model.VolumeBind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.model;
import java.io.Serializable;
public class VolumeBind implements Serializable {
private static final long serialVersionUID = 1L;
private final String hostPath;
private final String containerPath;
public VolumeBind(String hostPath, String containerPath) {
this.hostPath = hostPath;
this.containerPath = containerPath;
}
public String getContainerPath() {
return containerPath;
}
public String getHostPath() {
return hostPath;
}
@Override
public String toString() {
return hostPath + ":" + containerPath;
}
}