Class MapBasedAdapterDef
- java.lang.Object
-
- org.opennms.netmgt.telemetry.distributed.common.MapBasedAdapterDef
-
- All Implemented Interfaces:
AdapterDefinition
,TelemetryBeanDefinition
public class MapBasedAdapterDef extends java.lang.Object implements AdapterDefinition
-
-
Constructor Summary
Constructors Constructor Description MapBasedAdapterDef(java.lang.String queueName, PropertyTree definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 adapter.java.lang.String
getName()
The name of the beanjava.util.List<? extends PackageDefinition>
getPackages()
Packages may contain settings for specific sources.java.util.Map<java.lang.String,java.lang.String>
getParameterMap()
Additional parameters for the bean, e.g.int
hashCode()
-
-
-
Constructor Detail
-
MapBasedAdapterDef
public MapBasedAdapterDef(java.lang.String queueName, PropertyTree definition)
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Description copied from interface:TelemetryBeanDefinition
The type of the bean- Specified by:
getClassName
in interfaceTelemetryBeanDefinition
-
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
-
getName
public java.lang.String getName()
Description copied from interface:TelemetryBeanDefinition
The name of the bean- Specified by:
getName
in interfaceTelemetryBeanDefinition
-
getFullName
public java.lang.String getFullName()
Description copied from interface:AdapterDefinition
Returns the full qualified (unique) name of the adapter.- Specified by:
getFullName
in interfaceAdapterDefinition
- Returns:
- The name uniquely identifying the adapter. Must not be null.
-
getPackages
public java.util.List<? extends PackageDefinition> getPackages()
Description copied from interface:AdapterDefinition
Packages may contain settings for specific sources.- Specified by:
getPackages
in interfaceAdapterDefinition
- Returns:
- the list of configured packages
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-