public class ExposedPortDefinition extends Object
Constructor and Description |
---|
ExposedPortDefinition(Integer port,
PortType type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ExposedPortDefinition |
fromString(String portDef)
Converts a string in format of portNum/portType to a port definition object
|
int |
hashCode() |
Integer |
port() |
String |
toString() |
PortType |
type() |
public Integer port()
public PortType type()
public static ExposedPortDefinition fromString(String portDef)
portDef
- a string in format of portNum/portTypeCopyright © 2019. All rights reserved.