T - public abstract class RouteConfigIP<T extends IPAddress> extends Object implements RouteConfig
| Constructor and Description |
|---|
RouteConfigIP(T destination,
T gateway,
T netmask,
String interfaceName,
int metric) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the description of the route
|
T |
getDestination()
Gets the destination of the route
|
T |
getGateway()
Gets the gateway of the route
|
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(String interfaceName) |
void |
setMetric(int metric) |
void |
setNetmask(T netmask) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequalspublic 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 String getInterfaceName()
RouteConfiggetInterfaceName in interface RouteConfigpublic void setInterfaceName(String interfaceName)
public int getMetric()
RouteConfiggetMetric in interface RouteConfigpublic void setMetric(int metric)
public boolean isValid()
NetConfigCopyright © 2013. All Rights Reserved.