|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.trapd.TrapdConfiguration
public class TrapdConfiguration
Top-level element for the trapd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
TrapdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
deleteNewSuspectOnTrap()
Method deleteNewSuspectOnTrap |
void |
deleteSnmpTrapPort()
Method deleteSnmpTrapPort |
boolean |
getNewSuspectOnTrap()
Returns the value of field 'newSuspectOnTrap'. |
int |
getSnmpTrapPort()
Returns the value of field 'snmpTrapPort'. |
boolean |
hasNewSuspectOnTrap()
Method hasNewSuspectOnTrap |
boolean |
hasSnmpTrapPort()
Method hasSnmpTrapPort |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setNewSuspectOnTrap(boolean newSuspectOnTrap)
Sets the value of field 'newSuspectOnTrap'. |
void |
setSnmpTrapPort(int snmpTrapPort)
Sets the value of field 'snmpTrapPort'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrapdConfiguration()
| Method Detail |
|---|
public void deleteNewSuspectOnTrap()
public void deleteSnmpTrapPort()
public boolean getNewSuspectOnTrap()
public int getSnmpTrapPort()
public boolean hasNewSuspectOnTrap()
public boolean hasSnmpTrapPort()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic void setNewSuspectOnTrap(boolean newSuspectOnTrap)
newSuspectOnTrap - the value of field 'newSuspectOnTrap'public void setSnmpTrapPort(int snmpTrapPort)
snmpTrapPort - the value of field 'snmpTrapPort'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||