com.github.dockerjava.api.model
Class Volume
java.lang.Object
com.github.dockerjava.api.model.Volume
public class Volume
- extends Object
Represents a bind mounted volume in a Docker container.
- See Also:
Bind
Volume
public Volume(String path)
getPath
public String getPath()
isReadWrite
public boolean isReadWrite()
parse
public static Volume parse(String serialized)
toString
public String toString()
- Returns a string representation of this
Volume
suitable
for inclusion in a JSON message.
The returned String is simply the container path, getPath()
.
- Overrides:
toString
in class Object
- Returns:
- a string representation of this
Volume
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014. All Rights Reserved.