Class PackageConfig
- java.lang.Object
-
- org.opennms.netmgt.telemetry.config.model.PackageConfig
-
- All Implemented Interfaces:
PackageDefinition
public class PackageConfig extends Object implements PackageDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PackageConfig.Filter
static class
PackageConfig.Rrd
-
Constructor Summary
Constructors Constructor Description PackageConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
PackageConfig.Filter
getFilter()
String
getFilterRule()
The filter rule is used to match which sources should belong to this package.String
getName()
Map<String,String>
getParameterMap()
Package specific parameters.List<Parameter>
getParameters()
PackageConfig.Rrd
getRrd()
The RRD settings are use to control the control of RRD files, when applicable.int
hashCode()
void
setFilter(PackageConfig.Filter filter)
void
setName(String name)
void
setParameters(List<Parameter> parameters)
void
setRrd(PackageConfig.Rrd rrd)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getFilter
public PackageConfig.Filter getFilter()
-
setFilter
public void setFilter(PackageConfig.Filter filter)
-
getFilterRule
public String getFilterRule()
Description copied from interface:PackageDefinition
The filter rule is used to match which sources should belong to this package. If the rule isnull
, then all sources should match.- Specified by:
getFilterRule
in interfacePackageDefinition
- Returns:
- the filter rule
-
getRrd
public PackageConfig.Rrd getRrd()
Description copied from interface:PackageDefinition
The RRD settings are use to control the control of RRD files, when applicable.- Specified by:
getRrd
in interfacePackageDefinition
- Returns:
- the rrd settings
-
setRrd
public void setRrd(PackageConfig.Rrd rrd)
-
getParameterMap
public Map<String,String> getParameterMap()
Description copied from interface:PackageDefinition
Package specific parameters.- Specified by:
getParameterMap
in interfacePackageDefinition
- Returns:
- the parameter map
-
-