public final class TypeFilter extends AbstractFilterPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_TYPES
The name of the property determining which types will be filtered.
|
static java.lang.String |
INPUT_PORT_NAME_EVENTS
The name of the input port receiving new events.
|
static java.lang.String |
OUTPUT_PORT_NAME_TYPE_MATCH
The name of the output port where the incoming matching objects will be sent to.
|
static java.lang.String |
OUTPUT_PORT_NAME_TYPE_MISMATCH
The name of the output port where the incoming objects will be sent to, which do not match the configured types.
|
CONFIG_NAME, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description |
|---|
TypeFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
inputEvents(java.lang.Object event)
This method represents the input port for the incoming objects.
|
init, terminateareAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getStatepublic static final java.lang.String INPUT_PORT_NAME_EVENTS
public static final java.lang.String OUTPUT_PORT_NAME_TYPE_MATCH
public static final java.lang.String OUTPUT_PORT_NAME_TYPE_MISMATCH
public static final java.lang.String CONFIG_PROPERTY_NAME_TYPES
public TypeFilter(Configuration configuration, IProjectContext projectContext)
configuration - The configuration for this component.projectContext - The project context for this component.public final Configuration getCurrentConfiguration()
Configuration object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.getCurrentConfiguration in interface IAnalysisComponentgetCurrentConfiguration in interface IPlugingetCurrentConfiguration in class AbstractAnalysisComponentpublic final void inputEvents(java.lang.Object event)
event - The new incoming object.Copyright 2017 Kieker Project, http://kieker-monitoring.net