|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.syslogd.Configuration
public class Configuration
Top-level element for the syslogd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
Configuration()
|
|
| Method Summary | |
|---|---|
void |
deleteMatchingGroupHost()
Method deleteMatchingGroupHost |
void |
deleteMatchingGroupMessage()
Method deleteMatchingGroupMessage |
void |
deleteNewSuspectOnMessage()
Method deleteNewSuspectOnMessage |
void |
deleteSyslogPort()
Method deleteSyslogPort |
java.lang.String |
getForwardingRegexp()
Returns the value of field 'forwardingRegexp'. |
int |
getMatchingGroupHost()
Returns the value of field 'matchingGroupHost'. |
int |
getMatchingGroupMessage()
Returns the value of field 'matchingGroupMessage'. |
boolean |
getNewSuspectOnMessage()
Returns the value of field 'newSuspectOnMessage'. |
int |
getSyslogPort()
Returns the value of field 'syslogPort'. |
boolean |
hasMatchingGroupHost()
Method hasMatchingGroupHost |
boolean |
hasMatchingGroupMessage()
Method hasMatchingGroupMessage |
boolean |
hasNewSuspectOnMessage()
Method hasNewSuspectOnMessage |
boolean |
hasSyslogPort()
Method hasSyslogPort |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setForwardingRegexp(java.lang.String forwardingRegexp)
Sets the value of field 'forwardingRegexp'. |
void |
setMatchingGroupHost(int matchingGroupHost)
Sets the value of field 'matchingGroupHost'. |
void |
setMatchingGroupMessage(int matchingGroupMessage)
Sets the value of field 'matchingGroupMessage'. |
void |
setNewSuspectOnMessage(boolean newSuspectOnMessage)
Sets the value of field 'newSuspectOnMessage'. |
void |
setSyslogPort(int syslogPort)
Sets the value of field 'syslogPort'. |
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 Configuration()
| Method Detail |
|---|
public void deleteMatchingGroupHost()
public void deleteMatchingGroupMessage()
public void deleteNewSuspectOnMessage()
public void deleteSyslogPort()
public java.lang.String getForwardingRegexp()
public int getMatchingGroupHost()
public int getMatchingGroupMessage()
public boolean getNewSuspectOnMessage()
public int getSyslogPort()
public boolean hasMatchingGroupHost()
public boolean hasMatchingGroupMessage()
public boolean hasNewSuspectOnMessage()
public boolean hasSyslogPort()
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 setForwardingRegexp(java.lang.String forwardingRegexp)
forwardingRegexp - the value of field 'forwardingRegexp'public void setMatchingGroupHost(int matchingGroupHost)
matchingGroupHost - the value of field
'matchingGroupHost'.public void setMatchingGroupMessage(int matchingGroupMessage)
matchingGroupMessage - the value of field
'matchingGroupMessage'.public void setNewSuspectOnMessage(boolean newSuspectOnMessage)
newSuspectOnMessage - the value of field
'newSuspectOnMessage'.public void setSyslogPort(int syslogPort)
syslogPort - the value of field 'syslogPort'.
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 | ||||||||