Class ThreshdConfiguration
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.ThreshdConfiguration
-
- All Implemented Interfaces:
Serializable
public class ThreshdConfiguration extends Object implements Serializable
Top-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 void
addPackage(Package p)
void
addThresholder(Thresholder thresholder)
boolean
equals(Object obj)
Optional<Package>
getPackage(String packageName)
List<Package>
getPackages()
Integer
getThreads()
List<Thresholder>
getThresholders()
int
hashCode()
boolean
removePackage(Package p)
boolean
removeThresholder(Thresholder thresholder)
void
setPackages(List<Package> packages)
void
setThreads(Integer threads)
void
setThresholders(List<Thresholder> thresholders)
-
-
-
Method Detail
-
getThreads
public Integer getThreads()
-
setThreads
public void setThreads(Integer threads)
-
addPackage
public void addPackage(Package p)
-
removePackage
public boolean removePackage(Package p)
-
getThresholders
public List<Thresholder> getThresholders()
-
setThresholders
public void setThresholders(List<Thresholder> thresholders)
-
addThresholder
public void addThresholder(Thresholder thresholder)
-
removeThresholder
public boolean removeThresholder(Thresholder thresholder)
-
-