Class Port
java.lang.Object
org.jvnet.hudson.plugins.port_allocator.Port
- Direct Known Subclasses:
PooledPort
Represents an assigned TCP port and encapsulates how it should be cleaned up.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
PortType
that created this port.
-
-
Constructor Details
-
Port
-
-
Method Details
-
get
public abstract int get()Gets the TCP port number. -
cleanUp
Frees the port.- Throws:
IOException
InterruptedException
-