public interface RecordProcessor extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
void |
addFilter(RecordFilter filter)
Adds a
RecordFilter to the processor |
Object |
clone()
RecordFilters must override Object.clone()
|
List<RecordFilter> |
getFilters()
Gets the currently configured
RecordFilter instances |
String |
getName()
Returns the current RecordProcessor name
|
boolean |
isProcessDate()
Return whether the date data are being processed
|
boolean |
isProcessDestinationHost()
Return whether the destination host data are being processed
|
boolean |
isProcessEnvelope()
Return whether the envelope data are being processed
|
boolean |
isProcessHeaders()
Return whether the headers data are being processed
|
boolean |
isProcessMessageType()
Return whether the message type data are being processed
|
boolean |
isProcessOperation()
Return whether the operation data are being processed
|
boolean |
isProcessSourceHost()
Return whether the source host data are being processed
|
boolean |
isRecording()
Return true when the record processor is configured for actively recording data; false otherwise
|
void |
processRecord(Record record)
Processes a
Record instance |
void |
setFilters(List<RecordFilter> filters)
Sets the
RecordFilter instances for the current processor |
void |
setName(String name)
Sets the record processor name
|
void |
setProcessDate(boolean value)
Enable / disable processing of date
|
void |
setProcessDestinationHost(boolean value)
Enable / disable processing of destination host
|
void |
setProcessEnvelope(boolean value)
Enable / disable processing of envelope
|
void |
setProcessHeaders(boolean value)
Enable / disable processing of headers
|
void |
setProcessMessageType(boolean value)
Enable / disable processing of message type
|
void |
setProcessOperation(boolean value)
Enable / disable processing of operation
|
void |
setProcessSourceHost(boolean value)
Enable / disable processing of source host
|
void |
setRecording(boolean value)
Enable / disable actual data recording
|
String getName()
void setName(String name)
name
- the name to setboolean isRecording()
void setRecording(boolean value)
value
- true to enable recording, false to disable itvoid processRecord(Record record)
Record
instancerecord
- the Record
to processList<RecordFilter> getFilters()
RecordFilter
instancesRecordFilter
instancesvoid addFilter(RecordFilter filter)
RecordFilter
to the processorfilter
- the RecordFilter
instance to addvoid setFilters(List<RecordFilter> filters)
RecordFilter
instances for the current processorfilters
- the RecordFilter
instances to setboolean isProcessSourceHost()
void setProcessSourceHost(boolean value)
value
- true to enable processing, false to disable itboolean isProcessDestinationHost()
void setProcessDestinationHost(boolean value)
value
- true to enable processing, false to disable itboolean isProcessMessageType()
void setProcessMessageType(boolean value)
value
- true to enable processing, false to disable itboolean isProcessEnvelope()
void setProcessEnvelope(boolean value)
value
- true to enable processing, false to disable itboolean isProcessHeaders()
void setProcessHeaders(boolean value)
value
- true to enable processing, false to disable itboolean isProcessOperation()
void setProcessOperation(boolean value)
value
- true to enable processing, false to disable itboolean isProcessDate()
void setProcessDate(boolean value)
value
- true to enable processing, false to disable itObject clone() throws CloneNotSupportedException
CloneNotSupportedException
Copyright © 2018 JBoss by Red Hat. All rights reserved.