public class LinkdConfiguration extends Object implements Serializable
Constructor and Description |
---|
LinkdConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addPackage(int index,
Package vPackage) |
void |
addPackage(Package vPackage) |
void |
deleteAutoDiscovery() |
void |
deleteDiscovery_link_interval() |
void |
deleteEnableVlanDiscovery() |
void |
deleteForceIpRouteDiscoveryOnEthernet() |
void |
deleteInitial_sleep_time() |
void |
deleteSaveRouteTable() |
void |
deleteSaveStpInterfaceTable() |
void |
deleteSaveStpNodeTable() |
void |
deleteSnmp_poll_interval() |
void |
deleteThreads() |
void |
deleteUseBridgeDiscovery() |
void |
deleteUseCdpDiscovery() |
void |
deleteUseIpRouteDiscovery() |
void |
deleteUseIsisDiscovery() |
void |
deleteUseLldpDiscovery() |
void |
deleteUseOspfDiscovery() |
void |
deleteUseWifiDiscovery() |
Enumeration<Package> |
enumeratePackage()
Method enumeratePackage.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
boolean |
getAutoDiscovery()
Returns the value of field 'autoDiscovery'.
|
long |
getDiscovery_link_interval()
Returns the value of field 'discovery_link_interval'.
|
boolean |
getEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'.
|
boolean |
getForceIpRouteDiscoveryOnEthernet()
Returns the value of field
'forceIpRouteDiscoveryOnEthernet'.
|
long |
getInitial_sleep_time()
Returns the value of field 'initial_sleep_time'.
|
Iproutes |
getIproutes()
Returns the value of field 'iproutes'.
|
Package[] |
getPackage()
Method getPackage.Returns the contents of the collection in
an Array.
|
Package |
getPackage(int index)
Method getPackage.
|
List<Package> |
getPackageCollection()
Method getPackageCollection.Returns a reference to
'_packageList'.
|
int |
getPackageCount()
Method getPackageCount.
|
boolean |
getSaveRouteTable()
Returns the value of field 'saveRouteTable'.
|
boolean |
getSaveStpInterfaceTable()
Returns the value of field 'saveStpInterfaceTable'.
|
boolean |
getSaveStpNodeTable()
Returns the value of field 'saveStpNodeTable'.
|
long |
getSnmp_poll_interval()
Returns the value of field 'snmp_poll_interval'.
|
int |
getThreads()
Returns the value of field 'threads'.
|
boolean |
getUseBridgeDiscovery()
Returns the value of field 'useBridgeDiscovery'.
|
boolean |
getUseCdpDiscovery()
Returns the value of field 'useCdpDiscovery'.
|
boolean |
getUseIpRouteDiscovery()
Returns the value of field 'useIpRouteDiscovery'.
|
boolean |
getUseIsisDiscovery()
Returns the value of field 'useIsisDiscovery'.
|
boolean |
getUseLldpDiscovery()
Returns the value of field 'useLldpDiscovery'.
|
boolean |
getUseOspfDiscovery()
Returns the value of field 'useOspfDiscovery'.
|
boolean |
getUseWifiDiscovery()
Returns the value of field 'useWifiDiscovery'.
|
Vlans |
getVlans()
Returns the value of field 'vlans'.
|
boolean |
hasAutoDiscovery()
Method hasAutoDiscovery.
|
boolean |
hasDiscovery_link_interval()
Method hasDiscovery_link_interval.
|
boolean |
hasEnableVlanDiscovery()
Method hasEnableVlanDiscovery.
|
boolean |
hasForceIpRouteDiscoveryOnEthernet()
Method hasForceIpRouteDiscoveryOnEthernet.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasInitial_sleep_time()
Method hasInitial_sleep_time.
|
boolean |
hasSaveRouteTable()
Method hasSaveRouteTable.
|
boolean |
hasSaveStpInterfaceTable()
Method hasSaveStpInterfaceTable.
|
boolean |
hasSaveStpNodeTable()
Method hasSaveStpNodeTable.
|
boolean |
hasSnmp_poll_interval()
Method hasSnmp_poll_interval.
|
boolean |
hasThreads()
Method hasThreads.
|
boolean |
hasUseBridgeDiscovery()
Method hasUseBridgeDiscovery.
|
boolean |
hasUseCdpDiscovery()
Method hasUseCdpDiscovery.
|
boolean |
hasUseIpRouteDiscovery()
Method hasUseIpRouteDiscovery.
|
boolean |
hasUseIsisDiscovery()
Method hasUseIsisDiscovery.
|
boolean |
hasUseLldpDiscovery()
Method hasUseLldpDiscovery.
|
boolean |
hasUseOspfDiscovery()
Method hasUseOspfDiscovery.
|
boolean |
hasUseWifiDiscovery()
Method hasUseWifiDiscovery.
|
boolean |
isAutoDiscovery()
Returns the value of field 'autoDiscovery'.
|
boolean |
isEnableVlanDiscovery()
Returns the value of field 'enableVlanDiscovery'.
|
boolean |
isForceIpRouteDiscoveryOnEthernet()
Returns the value of field
'forceIpRouteDiscoveryOnEthernet'.
|
boolean |
isSaveRouteTable()
Returns the value of field 'saveRouteTable'.
|
boolean |
isSaveStpInterfaceTable()
Returns the value of field 'saveStpInterfaceTable'.
|
boolean |
isSaveStpNodeTable()
Returns the value of field 'saveStpNodeTable'.
|
boolean |
isUseBridgeDiscovery()
Returns the value of field 'useBridgeDiscovery'.
|
boolean |
isUseCdpDiscovery()
Returns the value of field 'useCdpDiscovery'.
|
boolean |
isUseIpRouteDiscovery()
Returns the value of field 'useIpRouteDiscovery'.
|
boolean |
isUseIsisDiscovery()
Returns the value of field 'useIsisDiscovery'.
|
boolean |
isUseLldpDiscovery()
Returns the value of field 'useLldpDiscovery'.
|
boolean |
isUseOspfDiscovery()
Returns the value of field 'useOspfDiscovery'.
|
boolean |
isUseWifiDiscovery()
Returns the value of field 'useWifiDiscovery'.
|
boolean |
isValid()
Method isValid.
|
Iterator<Package> |
iteratePackage()
Method iteratePackage.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllPackage() |
boolean |
removePackage(Package vPackage)
Method removePackage.
|
Package |
removePackageAt(int index)
Method removePackageAt.
|
void |
setAutoDiscovery(boolean autoDiscovery)
Sets the value of field 'autoDiscovery'.
|
void |
setDiscovery_link_interval(long discovery_link_interval)
Sets the value of field 'discovery_link_interval'.
|
void |
setEnableVlanDiscovery(boolean enableVlanDiscovery)
Sets the value of field 'enableVlanDiscovery'.
|
void |
setForceIpRouteDiscoveryOnEthernet(boolean forceIpRouteDiscoveryOnEthernet)
Sets the value of field 'forceIpRouteDiscoveryOnEthernet'.
|
void |
setInitial_sleep_time(long initial_sleep_time)
Sets the value of field 'initial_sleep_time'.
|
void |
setIproutes(Iproutes iproutes)
Sets the value of field 'iproutes'.
|
void |
setPackage(int index,
Package vPackage) |
void |
setPackage(List<Package> vPackageList)
Sets the value of '_packageList' by copying the given
Vector.
|
void |
setPackage(Package[] vPackageArray) |
void |
setPackageCollection(List<Package> _packageList)
Deprecated.
|
void |
setSaveRouteTable(boolean saveRouteTable)
Sets the value of field 'saveRouteTable'.
|
void |
setSaveStpInterfaceTable(boolean saveStpInterfaceTable)
Sets the value of field 'saveStpInterfaceTable'.
|
void |
setSaveStpNodeTable(boolean saveStpNodeTable)
Sets the value of field 'saveStpNodeTable'.
|
void |
setSnmp_poll_interval(long snmp_poll_interval)
Sets the value of field 'snmp_poll_interval'.
|
void |
setThreads(int threads)
Sets the value of field 'threads'.
|
void |
setUseBridgeDiscovery(boolean useBridgeDiscovery)
Sets the value of field 'useBridgeDiscovery'.
|
void |
setUseCdpDiscovery(boolean useCdpDiscovery)
Sets the value of field 'useCdpDiscovery'.
|
void |
setUseIpRouteDiscovery(boolean useIpRouteDiscovery)
Sets the value of field 'useIpRouteDiscovery'.
|
void |
setUseIsisDiscovery(boolean useIsisDiscovery)
Sets the value of field 'useIsisDiscovery'.
|
void |
setUseLldpDiscovery(boolean useLldpDiscovery)
Sets the value of field 'useLldpDiscovery'.
|
void |
setUseOspfDiscovery(boolean useOspfDiscovery)
Sets the value of field 'useOspfDiscovery'.
|
void |
setUseWifiDiscovery(boolean useWifiDiscovery)
Sets the value of field 'useWifiDiscovery'.
|
void |
setVlans(Vlans vlans)
Sets the value of field 'vlans'.
|
static LinkdConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addPackage(Package vPackage) throws IndexOutOfBoundsException
vPackage
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPackage(int index, Package vPackage) throws IndexOutOfBoundsException
index
- vPackage
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteAutoDiscovery()
public void deleteDiscovery_link_interval()
public void deleteEnableVlanDiscovery()
public void deleteForceIpRouteDiscoveryOnEthernet()
public void deleteInitial_sleep_time()
public void deleteSaveRouteTable()
public void deleteSaveStpInterfaceTable()
public void deleteSaveStpNodeTable()
public void deleteSnmp_poll_interval()
public void deleteThreads()
public void deleteUseBridgeDiscovery()
public void deleteUseCdpDiscovery()
public void deleteUseIpRouteDiscovery()
public void deleteUseIsisDiscovery()
public void deleteUseLldpDiscovery()
public void deleteUseOspfDiscovery()
public void deleteUseWifiDiscovery()
public Enumeration<Package> enumeratePackage()
public boolean equals(Object obj)
public boolean getAutoDiscovery()
public long getDiscovery_link_interval()
public boolean getEnableVlanDiscovery()
public boolean getForceIpRouteDiscoveryOnEthernet()
public long getInitial_sleep_time()
public Iproutes getIproutes()
public Package getPackage(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Package[] getPackage()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Package> getPackageCollection()
public int getPackageCount()
public boolean getSaveRouteTable()
public boolean getSaveStpInterfaceTable()
public boolean getSaveStpNodeTable()
public long getSnmp_poll_interval()
public int getThreads()
public boolean getUseBridgeDiscovery()
public boolean getUseCdpDiscovery()
public boolean getUseIpRouteDiscovery()
public boolean getUseIsisDiscovery()
public boolean getUseLldpDiscovery()
public boolean getUseOspfDiscovery()
public boolean getUseWifiDiscovery()
public Vlans getVlans()
public boolean hasAutoDiscovery()
public boolean hasDiscovery_link_interval()
public boolean hasEnableVlanDiscovery()
public boolean hasForceIpRouteDiscoveryOnEthernet()
public boolean hasInitial_sleep_time()
public boolean hasSaveRouteTable()
public boolean hasSaveStpInterfaceTable()
public boolean hasSaveStpNodeTable()
public boolean hasSnmp_poll_interval()
public boolean hasThreads()
public boolean hasUseBridgeDiscovery()
public boolean hasUseCdpDiscovery()
public boolean hasUseIpRouteDiscovery()
public boolean hasUseIsisDiscovery()
public boolean hasUseLldpDiscovery()
public boolean hasUseOspfDiscovery()
public boolean hasUseWifiDiscovery()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isAutoDiscovery()
public boolean isEnableVlanDiscovery()
public boolean isForceIpRouteDiscoveryOnEthernet()
public boolean isSaveRouteTable()
public boolean isSaveStpInterfaceTable()
public boolean isSaveStpNodeTable()
public boolean isUseBridgeDiscovery()
public boolean isUseCdpDiscovery()
public boolean isUseIpRouteDiscovery()
public boolean isUseIsisDiscovery()
public boolean isUseLldpDiscovery()
public boolean isUseOspfDiscovery()
public boolean isUseWifiDiscovery()
public boolean isValid()
public Iterator<Package> iteratePackage()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllPackage()
public boolean removePackage(Package vPackage)
vPackage
- public Package removePackageAt(int index)
index
- public void setAutoDiscovery(boolean autoDiscovery)
autoDiscovery
- the value of field 'autoDiscovery'.public void setDiscovery_link_interval(long discovery_link_interval)
discovery_link_interval
- the value of field
'discovery_link_interval'.public void setEnableVlanDiscovery(boolean enableVlanDiscovery)
enableVlanDiscovery
- the value of field
'enableVlanDiscovery'.public void setForceIpRouteDiscoveryOnEthernet(boolean forceIpRouteDiscoveryOnEthernet)
forceIpRouteDiscoveryOnEthernet
- the value of field
'forceIpRouteDiscoveryOnEthernet'.public void setInitial_sleep_time(long initial_sleep_time)
initial_sleep_time
- the value of field
'initial_sleep_time'.public void setIproutes(Iproutes iproutes)
iproutes
- the value of field 'iproutes'.public void setPackage(int index, Package vPackage) throws IndexOutOfBoundsException
index
- vPackage
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPackage(Package[] vPackageArray)
vPackageArray
- public void setPackage(List<Package> vPackageList)
vPackageList
- the Vector to copy.public void setPackageCollection(List<Package> _packageList)
_packageList
- the Vector to set.public void setSaveRouteTable(boolean saveRouteTable)
saveRouteTable
- the value of field 'saveRouteTable'.public void setSaveStpInterfaceTable(boolean saveStpInterfaceTable)
saveStpInterfaceTable
- the value of field
'saveStpInterfaceTable'.public void setSaveStpNodeTable(boolean saveStpNodeTable)
saveStpNodeTable
- the value of field 'saveStpNodeTable'public void setSnmp_poll_interval(long snmp_poll_interval)
snmp_poll_interval
- the value of field
'snmp_poll_interval'.public void setThreads(int threads)
threads
- the value of field 'threads'.public void setUseBridgeDiscovery(boolean useBridgeDiscovery)
useBridgeDiscovery
- the value of field
'useBridgeDiscovery'.public void setUseCdpDiscovery(boolean useCdpDiscovery)
useCdpDiscovery
- the value of field 'useCdpDiscovery'.public void setUseIpRouteDiscovery(boolean useIpRouteDiscovery)
useIpRouteDiscovery
- the value of field
'useIpRouteDiscovery'.public void setUseIsisDiscovery(boolean useIsisDiscovery)
useIsisDiscovery
- the value of field 'useIsisDiscovery'public void setUseLldpDiscovery(boolean useLldpDiscovery)
useLldpDiscovery
- the value of field 'useLldpDiscovery'public void setUseOspfDiscovery(boolean useOspfDiscovery)
useOspfDiscovery
- the value of field 'useOspfDiscovery'public void setUseWifiDiscovery(boolean useWifiDiscovery)
useWifiDiscovery
- the value of field 'useWifiDiscovery'public void setVlans(Vlans vlans)
vlans
- the value of field 'vlans'.public static LinkdConfiguration unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.