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 void
afterUnmarshal(Unmarshaller u, Object parent)
boolean
equals(Object o)
String
getClassName()
The type of the beanString
getFullName()
Returns the full qualified (unique) name of the parser.ListenerConfig
getListener()
String
getName()
The name of the beanMap<String,String>
getParameterMap()
Additional parameters for the bean, e.g.List<Parameter>
getParameters()
QueueConfig
getQueue()
String
getQueueName()
The name of the queue the parser "writes" to.int
hashCode()
void
setClassName(String className)
void
setName(String name)
void
setParameters(List<Parameter> parameters)
void
setQueue(QueueConfig queue)
String
toString()
-
-
-
Method Detail
-
getListener
public ListenerConfig getListener()
-
getName
public String getName()
Description copied from interface:TelemetryBeanDefinition
The name of the bean- Specified by:
getName
in interfaceTelemetryBeanDefinition
-
setName
public void setName(String name)
-
getClassName
public String getClassName()
Description copied from interface:TelemetryBeanDefinition
The type of the bean- Specified by:
getClassName
in 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:ParserDefinition
The name of the queue the parser "writes" to.- Specified by:
getQueueName
in interfaceParserDefinition
- Returns:
- The name of the queue the parser "writes" to. Must not be null.
-
getFullName
public String getFullName()
Description copied from interface:ParserDefinition
Returns the full qualified (unique) name of the parser.- Specified by:
getFullName
in interfaceParserDefinition
- Returns:
- The name uniquely identifying the parser. Must not be null.
-
getParameterMap
public Map<String,String> getParameterMap()
Description copied from interface:TelemetryBeanDefinition
Additional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMap
in interfaceTelemetryBeanDefinition
-
afterUnmarshal
public void afterUnmarshal(Unmarshaller u, Object parent)
-
-