com.github.dockerjava.api.model
Class Volume

java.lang.Object
  extended by com.github.dockerjava.api.model.Volume

public class Volume
extends Object

Represents a bind mounted volume in a Docker container.

See Also:
Bind

Nested Class Summary
static class Volume.Deserializer
           
static class Volume.Serializer
           
 
Constructor Summary
Volume(String path)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getPath()
           
 int hashCode()
           
 boolean isReadWrite()
           
static Volume parse(String serialized)
           
 String toString()
          Returns a string representation of this Volume suitable for inclusion in a JSON message.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Volume

public Volume(String path)
Method Detail

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.