public class Configuration extends Object implements Serializable
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
void |
deleteBatchInterval() |
void |
deleteBatchSize() |
void |
deleteMatchingGroupHost() |
void |
deleteMatchingGroupMessage() |
void |
deleteNewSuspectOnMessage() |
void |
deleteQueueSize() |
void |
deleteSyslogPort() |
void |
deleteThreads() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
int |
getBatchInterval()
Returns the value of field 'batchInterval'.
|
int |
getBatchSize()
Returns the value of field 'batchSize'.
|
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 |
getQueueSize()
Returns the value of field 'queueSize'.
|
int |
getSyslogPort()
Returns the value of field 'syslogPort'.
|
int |
getThreads()
Returns the value of field 'threads'.
|
boolean |
hasBatchInterval()
Method hasBatchInterval.
|
boolean |
hasBatchSize()
Method hasBatchSize.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasMatchingGroupHost()
Method hasMatchingGroupHost.
|
boolean |
hasMatchingGroupMessage()
Method hasMatchingGroupMessage.
|
boolean |
hasNewSuspectOnMessage()
Method hasNewSuspectOnMessage.
|
boolean |
hasQueueSize()
Method hasQueueSize.
|
boolean |
hasSyslogPort()
Method hasSyslogPort.
|
boolean |
hasThreads()
Method hasThreads.
|
boolean |
isNewSuspectOnMessage()
Returns the value of field 'newSuspectOnMessage'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setBatchInterval(int batchInterval)
Sets the value of field 'batchInterval'.
|
void |
setBatchSize(int batchSize)
Sets the value of field 'batchSize'.
|
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 |
setQueueSize(int queueSize)
Sets the value of field 'queueSize'.
|
void |
setSyslogPort(int syslogPort)
Sets the value of field 'syslogPort'.
|
void |
setThreads(int threads)
Sets the value of field 'threads'.
|
static Configuration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteBatchInterval()
public void deleteBatchSize()
public void deleteMatchingGroupHost()
public void deleteMatchingGroupMessage()
public void deleteNewSuspectOnMessage()
public void deleteQueueSize()
public void deleteSyslogPort()
public void deleteThreads()
public boolean equals(Object obj)
public int getBatchInterval()
public int getBatchSize()
public String getDiscardUei()
public String getForwardingRegexp()
public String getListenAddress()
public int getMatchingGroupHost()
public int getMatchingGroupMessage()
public boolean getNewSuspectOnMessage()
public String getParser()
public int getQueueSize()
public int getSyslogPort()
public int getThreads()
public boolean hasBatchInterval()
public boolean hasBatchSize()
public boolean hasMatchingGroupHost()
public boolean hasMatchingGroupMessage()
public boolean hasNewSuspectOnMessage()
public boolean hasQueueSize()
public boolean hasSyslogPort()
public boolean hasThreads()
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 setBatchInterval(int batchInterval)
batchInterval
- the value of field 'batchInterval'.public void setBatchSize(int batchSize)
batchSize
- the value of field 'batchSize'.public 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 setQueueSize(int queueSize)
queueSize
- the value of field 'queueSize'.public void setSyslogPort(int syslogPort)
syslogPort
- the value of field 'syslogPort'.public void setThreads(int threads)
threads
- the value of field 'threads'.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.