Class ThreshdConfiguration

  • All Implemented Interfaces:
    java.io.Serializable

    public class ThreshdConfiguration
    extends java.lang.Object
    implements java.io.Serializable
    Top-level element for the threshd-configuration.xml configuration file.
    See Also:
    Serialized Form
    • Constructor Detail

      • ThreshdConfiguration

        public ThreshdConfiguration()
    • 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:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object