public class DefaultPortDescription extends AbstractDescription implements PortDescription
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DefaultPortDescription.Builder  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
DefaultPortDescription()  | 
| Modifier and Type | Method and Description | 
|---|---|
static DefaultPortDescription.Builder | 
builder()
Creates port description builder with default parameters. 
 | 
static DefaultPortDescription.Builder | 
builder(PortDescription desc)
Creates port description builder inheriting with default parameters,
 from specified port description. 
 | 
boolean | 
equals(Object object)  | 
int | 
hashCode()  | 
boolean | 
isEnabled()
Indicates whether or not the port is up and active. 
 | 
boolean | 
isRemoved()
Indicates whether or not the port was removed. 
 | 
PortNumber | 
portNumber()
Returns the port number. 
 | 
long | 
portSpeed()
Returns the current port speed in Mbps. 
 | 
String | 
toString()  | 
Port.Type | 
type()
Returns the port type. 
 | 
annotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic PortNumber portNumber()
PortDescriptionportNumber in interface PortDescriptionpublic boolean isEnabled()
PortDescriptionisEnabled in interface PortDescriptionpublic boolean isRemoved()
PortDescriptionisRemoved in interface PortDescriptionpublic Port.Type type()
PortDescriptiontype in interface PortDescriptionpublic long portSpeed()
PortDescriptionportSpeed in interface PortDescriptionpublic int hashCode()
hashCode in class AbstractDescriptionpublic boolean equals(Object object)
equals in class AbstractDescriptionpublic static DefaultPortDescription.Builder builder()
public static DefaultPortDescription.Builder builder(PortDescription desc)
desc - to inherit default from