|
|||||||||
| 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()
|
void |
deleteMatchingGroupMessage()
|
void |
deleteNewSuspectOnMessage()
|
void |
deleteSyslogPort()
|
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 |
isNewSuspectOnMessage()
Returns the value of field 'newSuspectOnMessage'. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setForwardingRegexp(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 Configuration |
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 Configuration()
| Method Detail |
|---|
public void deleteMatchingGroupHost()
public void deleteMatchingGroupMessage()
public void deleteNewSuspectOnMessage()
public void deleteSyslogPort()
public 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 isNewSuspectOnMessage()
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 setForwardingRegexp(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 Configuration 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 | ||||||||