public class TrapdConfiguration extends Object implements Serializable
| Constructor and Description | 
|---|
| TrapdConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addSnmpv3User(int index,
             Snmpv3User vSnmpv3User) | 
| void | addSnmpv3User(Snmpv3User vSnmpv3User) | 
| void | deleteNewSuspectOnTrap() | 
| void | deleteSnmpTrapPort() | 
| Enumeration<Snmpv3User> | enumerateSnmpv3User()Method enumerateSnmpv3User. | 
| boolean | equals(Object obj)Overrides the java.lang.Object.equals method. | 
| boolean | getNewSuspectOnTrap()Returns the value of field 'newSuspectOnTrap'. | 
| String | getSnmpTrapAddress()Returns the value of field 'snmpTrapAddress'. | 
| int | getSnmpTrapPort()Returns the value of field 'snmpTrapPort'. | 
| Snmpv3User[] | getSnmpv3User()Method getSnmpv3User.Returns the contents of the collection
 in an Array. | 
| Snmpv3User | getSnmpv3User(int index)Method getSnmpv3User. | 
| List<Snmpv3User> | getSnmpv3UserCollection()Method getSnmpv3UserCollection.Returns a reference to
 '_snmpv3UserList'. | 
| int | getSnmpv3UserCount()Method getSnmpv3UserCount. | 
| int | hashCode()Overrides the java.lang.Object.hashCode method. | 
| boolean | hasNewSuspectOnTrap()Method hasNewSuspectOnTrap. | 
| boolean | hasSnmpTrapPort()Method hasSnmpTrapPort. | 
| boolean | isNewSuspectOnTrap()Returns the value of field 'newSuspectOnTrap'. | 
| boolean | isValid()Method isValid. | 
| Iterator<Snmpv3User> | iterateSnmpv3User()Method iterateSnmpv3User. | 
| void | marshal(ContentHandler handler) | 
| void | marshal(Writer out) | 
| void | removeAllSnmpv3User() | 
| boolean | removeSnmpv3User(Snmpv3User vSnmpv3User)Method removeSnmpv3User. | 
| Snmpv3User | removeSnmpv3UserAt(int index)Method removeSnmpv3UserAt. | 
| void | setNewSuspectOnTrap(boolean newSuspectOnTrap)Sets the value of field 'newSuspectOnTrap'. | 
| void | setSnmpTrapAddress(String snmpTrapAddress)Sets the value of field 'snmpTrapAddress'. | 
| void | setSnmpTrapPort(int snmpTrapPort)Sets the value of field 'snmpTrapPort'. | 
| void | setSnmpv3User(int index,
             Snmpv3User vSnmpv3User) | 
| void | setSnmpv3User(List<Snmpv3User> vSnmpv3UserList)Sets the value of '_snmpv3UserList' by copying the given
 Vector. | 
| void | setSnmpv3User(Snmpv3User[] vSnmpv3UserArray) | 
| void | setSnmpv3UserCollection(List<Snmpv3User> snmpv3UserList)Deprecated.   | 
| static TrapdConfiguration | unmarshal(Reader reader)Method unmarshal. | 
| void | validate() | 
public void addSnmpv3User(Snmpv3User vSnmpv3User) throws IndexOutOfBoundsException
vSnmpv3User - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addSnmpv3User(int index,
                          Snmpv3User vSnmpv3User)
                   throws IndexOutOfBoundsException
index - vSnmpv3User - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void deleteNewSuspectOnTrap()
public void deleteSnmpTrapPort()
public Enumeration<Snmpv3User> enumerateSnmpv3User()
public boolean equals(Object obj)
public boolean getNewSuspectOnTrap()
public String getSnmpTrapAddress()
public int getSnmpTrapPort()
public Snmpv3User getSnmpv3User(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Snmpv3User[] getSnmpv3User()
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<Snmpv3User> getSnmpv3UserCollection()
public int getSnmpv3UserCount()
public boolean hasNewSuspectOnTrap()
public boolean hasSnmpTrapPort()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isNewSuspectOnTrap()
public boolean isValid()
public Iterator<Snmpv3User> iterateSnmpv3User()
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 removeAllSnmpv3User()
public boolean removeSnmpv3User(Snmpv3User vSnmpv3User)
vSnmpv3User - public Snmpv3User removeSnmpv3UserAt(int index)
index - public void setNewSuspectOnTrap(boolean newSuspectOnTrap)
newSuspectOnTrap - the value of field 'newSuspectOnTrap'public void setSnmpTrapAddress(String snmpTrapAddress)
snmpTrapAddress - the value of field 'snmpTrapAddress'.public void setSnmpTrapPort(int snmpTrapPort)
snmpTrapPort - the value of field 'snmpTrapPort'.public void setSnmpv3User(int index,
                          Snmpv3User vSnmpv3User)
                   throws IndexOutOfBoundsException
index - vSnmpv3User - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setSnmpv3User(Snmpv3User[] vSnmpv3UserArray)
vSnmpv3UserArray - public void setSnmpv3User(List<Snmpv3User> vSnmpv3UserList)
vSnmpv3UserList - the Vector to copy.public void setSnmpv3UserCollection(List<Snmpv3User> snmpv3UserList)
snmpv3UserList - the Vector to set.public static TrapdConfiguration 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 © 2017. All rights reserved.