com.github.dockerjava.api.model
Class ExposedPort

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

public class ExposedPort
extends Object


Nested Class Summary
static class ExposedPort.Deserializer
           
static class ExposedPort.Serializer
           
 
Constructor Summary
ExposedPort(String scheme, int port)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getPort()
           
 String getScheme()
           
 int hashCode()
           
static ExposedPort parse(String serialized)
           
static ExposedPort tcp(int port)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExposedPort

public ExposedPort(String scheme,
                   int port)
Method Detail

getScheme

public String getScheme()

getPort

public int getPort()

tcp

public static ExposedPort tcp(int port)

parse

public static ExposedPort parse(String serialized)

toString

public String toString()
Overrides:
toString in class Object

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.