Class ParserConfig
- java.lang.Object
-
- org.opennms.netmgt.telemetry.config.model.ParserConfig
-
- All Implemented Interfaces:
ParserDefinition
,TelemetryBeanDefinition
public class ParserConfig extends java.lang.Object implements ParserDefinition
-
-
Constructor Summary
Constructors Constructor Description ParserConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterUnmarshal(javax.xml.bind.Unmarshaller u, java.lang.Object parent)
boolean
equals(java.lang.Object o)
java.lang.String
getClassName()
The type of the beanjava.lang.String
getFullName()
Returns the full qualified (unique) name of the parser.ListenerConfig
getListener()
java.lang.String
getName()
The name of the beanjava.util.Map<java.lang.String,java.lang.String>
getParameterMap()
Additional parameters for the bean, e.g.java.util.List<Parameter>
getParameters()
QueueConfig
getQueue()
java.lang.String
getQueueName()
The name of the queue the parser "writes" to.int
hashCode()
void
setClassName(java.lang.String className)
void
setName(java.lang.String name)
void
setParameters(java.util.List<Parameter> parameters)
void
setQueue(QueueConfig queue)
java.lang.String
toString()
-
-
-
Method Detail
-
getListener
public ListenerConfig getListener()
-
getName
public java.lang.String getName()
Description copied from interface:TelemetryBeanDefinition
The name of the bean- Specified by:
getName
in interfaceTelemetryBeanDefinition
-
setName
public void setName(java.lang.String name)
-
getClassName
public java.lang.String getClassName()
Description copied from interface:TelemetryBeanDefinition
The type of the bean- Specified by:
getClassName
in interfaceTelemetryBeanDefinition
-
setClassName
public void setClassName(java.lang.String className)
-
getQueue
public QueueConfig getQueue()
-
setQueue
public void setQueue(QueueConfig queue)
-
getQueueName
public java.lang.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 java.lang.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.
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap()
Description copied from interface:TelemetryBeanDefinition
Additional parameters for the bean, e.g. to fill setters- Specified by:
getParameterMap
in interfaceTelemetryBeanDefinition
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller u, java.lang.Object parent)
-
-