Module com.github.eventmanager
Class ProcessorEntry
java.lang.Object
com.github.eventmanager.filehandlers.config.ProcessorEntry
The ProcessorEntry class holds the configuration settings for the event processors.
It includes settings for the name of the processor and its parameters.
This example demonstrates how to create a ProcessorEntry object to configure a processor:
ProcessorEntry processorEntry = new ProcessorEntry();
processorEntry.setName("FilterProcessor");
processorEntry.setParameters(Map.of("termToFilter", List.of("error", "warning")));
EventManager eventManager = new EventManager();
eventManager.setProcessor(processorEntry);
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcessorEntry
public ProcessorEntry()
-