|
|||||||||
| 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()
|
void |
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 |
isNewSuspectOnTrap()
Returns the value of field 'newSuspectOnTrap'. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setNewSuspectOnTrap(boolean newSuspectOnTrap)
Sets the value of field 'newSuspectOnTrap'. |
void |
setSnmpTrapPort(int snmpTrapPort)
Sets the value of field 'snmpTrapPort'. |
static TrapdConfiguration |
unmarshal(Reader reader)
Method unmarshal. |
void |
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 isNewSuspectOnTrap()
public boolean isValid()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setNewSuspectOnTrap(boolean newSuspectOnTrap)
newSuspectOnTrap - the value of field 'newSuspectOnTrap'public void setSnmpTrapPort(int snmpTrapPort)
snmpTrapPort - the value of field 'snmpTrapPort'.
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||