T - @ProviderType public abstract class RouteConfigIP<T extends IPAddress> extends java.lang.Object implements RouteConfig
| Constructor and Description |
|---|
RouteConfigIP(T destination,
T gateway,
T netmask,
java.lang.String interfaceName,
int metric) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Gets the description of the route
|
T |
getDestination()
Gets the destination of the route
|
T |
getGateway()
Gets the gateway of the route
|
java.lang.String |
getInterfaceName()
Gets the interface name associated with the route
|
int |
getMetric()
Gets the metric of the route
|
T |
getNetmask()
Gets the network mask of the route
|
int |
hashCode() |
boolean |
isValid()
Checks whether or not this configuration is valid.
|
void |
setDestination(T destination) |
void |
setGateway(T gateway) |
void |
setInterfaceName(java.lang.String interfaceName) |
void |
setMetric(int metric) |
void |
setNetmask(T netmask) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequalspublic java.lang.String getDescription()
RouteConfiggetDescription in interface RouteConfigpublic T getDestination()
RouteConfiggetDestination in interface RouteConfigpublic void setDestination(T destination)
public T getGateway()
RouteConfiggetGateway in interface RouteConfigpublic void setGateway(T gateway)
public T getNetmask()
RouteConfiggetNetmask in interface RouteConfigpublic void setNetmask(T netmask)
public java.lang.String getInterfaceName()
RouteConfiggetInterfaceName in interface RouteConfigpublic void setInterfaceName(java.lang.String interfaceName)
public int getMetric()
RouteConfiggetMetric in interface RouteConfigpublic void setMetric(int metric)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isValid()
NetConfigpublic java.lang.String toString()
toString in class java.lang.Object