public class Configuration extends Object implements Serializable
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
deleteMatchingGroupHost() |
void |
deleteMatchingGroupMessage() |
void |
deleteNewSuspectOnMessage() |
void |
deleteSyslogPort() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDiscardUei()
Returns the value of field 'discardUei'.
|
String |
getForwardingRegexp()
Returns the value of field 'forwardingRegexp'.
|
String |
getListenAddress()
Returns the value of field 'listenAddress'.
|
int |
getMatchingGroupHost()
Returns the value of field 'matchingGroupHost'.
|
int |
getMatchingGroupMessage()
Returns the value of field 'matchingGroupMessage'.
|
boolean |
getNewSuspectOnMessage()
Returns the value of field 'newSuspectOnMessage'.
|
String |
getParser()
Returns the value of field 'parser'.
|
int |
getSyslogPort()
Returns the value of field 'syslogPort'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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 |
setDiscardUei(String discardUei)
Sets the value of field 'discardUei'.
|
void |
setForwardingRegexp(String forwardingRegexp)
Sets the value of field 'forwardingRegexp'.
|
void |
setListenAddress(String listenAddress)
Sets the value of field 'listenAddress'.
|
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 |
setParser(String parser)
Sets the value of field 'parser'.
|
void |
setSyslogPort(int syslogPort)
Sets the value of field 'syslogPort'.
|
static Configuration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteMatchingGroupHost()
public void deleteMatchingGroupMessage()
public void deleteNewSuspectOnMessage()
public void deleteSyslogPort()
public boolean equals(Object obj)
public String getDiscardUei()
public String getForwardingRegexp()
public String getListenAddress()
public int getMatchingGroupHost()
public int getMatchingGroupMessage()
public boolean getNewSuspectOnMessage()
public String getParser()
public int getSyslogPort()
public boolean hasMatchingGroupHost()
public boolean hasMatchingGroupMessage()
public boolean hasNewSuspectOnMessage()
public boolean hasSyslogPort()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setDiscardUei(String discardUei)
discardUei
- the value of field 'discardUei'.public void setForwardingRegexp(String forwardingRegexp)
forwardingRegexp
- the value of field 'forwardingRegexp'public void setListenAddress(String listenAddress)
listenAddress
- the value of field 'listenAddress'.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 setParser(String parser)
parser
- the value of field 'parser'.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.