Interface ListenerDefinition
-
- All Superinterfaces:
TelemetryBeanDefinition
- All Known Implementing Classes:
ListenerConfig
,MapBasedListenerDef
public interface ListenerDefinition extends TelemetryBeanDefinition
TelemetryBeanDefinition
to define listeners. Besides the common attributes, a listener may define one or more parsers.- Author:
- mvrueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<? extends ParserDefinition>
getParsers()
TheParserDefinition
to create.-
Methods inherited from interface org.opennms.netmgt.telemetry.config.api.TelemetryBeanDefinition
getClassName, getName, getParameterMap
-
-
-
-
Method Detail
-
getParsers
java.util.List<? extends ParserDefinition> getParsers()
TheParserDefinition
to create. Should not be null or empty. If empty, the listener will not be created.- Returns:
- The list of parsers to create. Should neither be null or empty. However if empty, the listener will not be created
-
-