Class ThreshdConfiguration
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.ThreshdConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
public class ThreshdConfiguration extends java.lang.Object implements java.io.SerializableTop-level element for the threshd-configuration.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThreshdConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPackage(Package p)voidaddThresholder(Thresholder thresholder)booleanequals(java.lang.Object obj)java.util.Optional<Package>getPackage(java.lang.String packageName)java.util.List<Package>getPackages()java.lang.IntegergetThreads()java.util.List<Thresholder>getThresholders()inthashCode()booleanremovePackage(Package p)booleanremoveThresholder(Thresholder thresholder)voidsetPackages(java.util.List<Package> packages)voidsetThreads(java.lang.Integer threads)voidsetThresholders(java.util.List<Thresholder> thresholders)
-
-
-
Method Detail
-
getThreads
public java.lang.Integer getThreads()
-
setThreads
public void setThreads(java.lang.Integer threads)
-
getPackages
public java.util.List<Package> getPackages()
-
setPackages
public void setPackages(java.util.List<Package> packages)
-
getPackage
public java.util.Optional<Package> getPackage(java.lang.String packageName)
-
addPackage
public void addPackage(Package p)
-
removePackage
public boolean removePackage(Package p)
-
getThresholders
public java.util.List<Thresholder> getThresholders()
-
setThresholders
public void setThresholders(java.util.List<Thresholder> thresholders)
-
addThresholder
public void addThresholder(Thresholder thresholder)
-
removeThresholder
public boolean removeThresholder(Thresholder thresholder)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-