Class AdapterConfig
- java.lang.Object
-
- org.opennms.netmgt.telemetry.config.model.AdapterConfig
-
- All Implemented Interfaces:
AdapterDefinition
,TelemetryBeanDefinition
public class AdapterConfig extends java.lang.Object implements AdapterDefinition
-
-
Constructor Summary
Constructors Constructor Description AdapterConfig()
-
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 adapter.java.lang.String
getName()
The name of the beanjava.util.List<PackageConfig>
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.java.util.List<Parameter>
getParameters()
QueueConfig
getQueue()
int
hashCode()
boolean
isEnabled()
void
setClassName(java.lang.String className)
void
setEnabled(boolean enabled)
void
setName(java.lang.String name)
void
setPackages(java.util.List<PackageConfig> packages)
void
setParameters(java.util.List<Parameter> parameters)
java.lang.String
toString()
-
-
-
Method Detail
-
getQueue
public QueueConfig getQueue()
-
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)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
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.
-
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
-
getPackages
public java.util.List<PackageConfig> getPackages()
Description copied from interface:AdapterDefinition
Packages may contain settings for specific sources.- Specified by:
getPackages
in interfaceAdapterDefinition
- Returns:
- the list of configured packages
-
setPackages
public void setPackages(java.util.List<PackageConfig> 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
-
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)
-
-