Class ParserConfig
- java.lang.Object
-
- org.opennms.netmgt.telemetry.config.model.ParserConfig
-
- All Implemented Interfaces:
ParserDefinition,TelemetryBeanDefinition
public class ParserConfig extends Object implements ParserDefinition
-
-
Constructor Summary
Constructors Constructor Description ParserConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterUnmarshal(Unmarshaller u, Object parent)booleanequals(Object o)StringgetClassName()The type of the beanStringgetFullName()Returns the full qualified (unique) name of the parser.ListenerConfiggetListener()StringgetName()The name of the beanMap<String,String>getParameterMap()Additional parameters for the bean, e.g.List<Parameter>getParameters()QueueConfiggetQueue()StringgetQueueName()The name of the queue the parser "writes" to.inthashCode()voidsetClassName(String className)voidsetName(String name)voidsetParameters(List<Parameter> parameters)voidsetQueue(QueueConfig queue)StringtoString()
-
-
-
Method Detail
-
getListener
public ListenerConfig getListener()
-
getName
public String getName()
Description copied from interface:TelemetryBeanDefinitionThe name of the bean- Specified by:
getNamein interfaceTelemetryBeanDefinition
-
setName
public void setName(String name)
-
getClassName
public String getClassName()
Description copied from interface:TelemetryBeanDefinitionThe type of the bean- Specified by:
getClassNamein interfaceTelemetryBeanDefinition
-
setClassName
public void setClassName(String className)
-
getQueue
public QueueConfig getQueue()
-
setQueue
public void setQueue(QueueConfig queue)
-
getQueueName
public String getQueueName()
Description copied from interface:ParserDefinitionThe name of the queue the parser "writes" to.- Specified by:
getQueueNamein interfaceParserDefinition- Returns:
- The name of the queue the parser "writes" to. Must not be null.
-
getFullName
public String getFullName()
Description copied from interface:ParserDefinitionReturns the full qualified (unique) name of the parser.- Specified by:
getFullNamein interfaceParserDefinition- Returns:
- The name uniquely identifying the parser. Must not be null.
-
getParameterMap
public Map<String,String> getParameterMap()
Description copied from interface:TelemetryBeanDefinitionAdditional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMapin interfaceTelemetryBeanDefinition
-
afterUnmarshal
public void afterUnmarshal(Unmarshaller u, Object parent)
-
-