public final class ClassFilter extends ForwarderFilter.Abstract
ForwarderFilter.Abstract
Modifier and Type | Field and Description |
---|---|
static String |
ALLOWED_CLASS_PROPERTY
Allowed class property.
|
static String |
DROPPED_CLASS_PROPERTY
Dropped class property.
|
FILTER_UUID_PROPERTY, NO_MESSAGES, WARN_DROPPED_PROPERTY
Constructor and Description |
---|
ClassFilter() |
Modifier and Type | Method and Description |
---|---|
Serializable[] |
filter(Serializable message)
Filters a message.
|
boolean |
setUp(ForwarderModule forwarderModule,
KeyedGroups filterProperties)
Sets up this filter.
|
getMetadata, getModule, getThisLogger, getUUID, knownPointValue, loadMetadata, logDropped, needsMetadata, onMetadataRefreshed, onNewMetadata, tearDown
public static final String ALLOWED_CLASS_PROPERTY
public static final String DROPPED_CLASS_PROPERTY
public Serializable[] filter(Serializable message)
message
- The original message.public boolean setUp(ForwarderModule forwarderModule, KeyedGroups filterProperties)
setUp
in interface ForwarderFilter
setUp
in class ForwarderFilter.Abstract
forwarderModule
- The owner of this filter.filterProperties
- The filter properties.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.