|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.eventd.EventdConfiguration
public class EventdConfiguration
Top-level element for the eventd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
EventdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
deleteReceivers()
|
void |
deleteSocketSoTimeoutPeriod()
|
void |
deleteTCPPort()
|
void |
deleteUDPPort()
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
String |
getGetNextEventID()
Returns the value of field 'getNextEventID'. |
int |
getReceivers()
Returns the value of field 'receivers'. |
int |
getSocketSoTimeoutPeriod()
Returns the value of field 'socketSoTimeoutPeriod'. |
String |
getSocketSoTimeoutRequired()
Returns the value of field 'socketSoTimeoutRequired'. |
String |
getTCPAddress()
Returns the value of field 'TCPAddress'. |
int |
getTCPPort()
Returns the value of field 'TCPPort'. |
String |
getUDPAddress()
Returns the value of field 'UDPAddress'. |
int |
getUDPPort()
Returns the value of field 'UDPPort'. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
hasReceivers()
Method hasReceivers. |
boolean |
hasSocketSoTimeoutPeriod()
Method hasSocketSoTimeoutPeriod. |
boolean |
hasTCPPort()
Method hasTCPPort. |
boolean |
hasUDPPort()
Method hasUDPPort. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setGetNextEventID(String getNextEventID)
Sets the value of field 'getNextEventID'. |
void |
setReceivers(int receivers)
Sets the value of field 'receivers'. |
void |
setSocketSoTimeoutPeriod(int socketSoTimeoutPeriod)
Sets the value of field 'socketSoTimeoutPeriod'. |
void |
setSocketSoTimeoutRequired(String socketSoTimeoutRequired)
Sets the value of field 'socketSoTimeoutRequired'. |
void |
setTCPAddress(String TCPAddress)
Sets the value of field 'TCPAddress'. |
void |
setTCPPort(int TCPPort)
Sets the value of field 'TCPPort'. |
void |
setUDPAddress(String UDPAddress)
Sets the value of field 'UDPAddress'. |
void |
setUDPPort(int UDPPort)
Sets the value of field 'UDPPort'. |
static EventdConfiguration |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventdConfiguration()
| Method Detail |
|---|
public void deleteReceivers()
public void deleteSocketSoTimeoutPeriod()
public void deleteTCPPort()
public void deleteUDPPort()
public boolean equals(Object obj)
equals in class Objectobj -
public String getGetNextEventID()
public int getReceivers()
public int getSocketSoTimeoutPeriod()
public String getSocketSoTimeoutRequired()
public String getTCPAddress()
public int getTCPPort()
public String getUDPAddress()
public int getUDPPort()
public boolean hasReceivers()
public boolean hasSocketSoTimeoutPeriod()
public boolean hasTCPPort()
public boolean hasUDPPort()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic 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 setGetNextEventID(String getNextEventID)
getNextEventID - the value of field 'getNextEventID'.public void setReceivers(int receivers)
receivers - the value of field 'receivers'.public void setSocketSoTimeoutPeriod(int socketSoTimeoutPeriod)
socketSoTimeoutPeriod - the value of field
'socketSoTimeoutPeriod'.public void setSocketSoTimeoutRequired(String socketSoTimeoutRequired)
socketSoTimeoutRequired - the value of field
'socketSoTimeoutRequired'.public void setTCPAddress(String TCPAddress)
TCPAddress - the value of field 'TCPAddress'.public void setTCPPort(int TCPPort)
TCPPort - the value of field 'TCPPort'.public void setUDPAddress(String UDPAddress)
UDPAddress - the value of field 'UDPAddress'.public void setUDPPort(int UDPPort)
UDPPort - the value of field 'UDPPort'.
public static EventdConfiguration 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 | |||||||||