Class Definition

  • All Implemented Interfaces:
    java.io.Serializable

    public class Definition
    extends Configuration
    implements java.io.Serializable
    Provides a mechanism for associating one or more specific IP addresses and/or IP address ranges with a set of SNMP parms which will be used in place of the default values during SNMP data collection.
    See Also:
    Serialized Form
    • Constructor Detail

      • Definition

        public Definition()
    • Method Detail

      • getRanges

        public java.util.List<Range> getRanges()
      • setRanges

        public void setRanges​(java.util.List<Range> ranges)
      • addRange

        public void addRange​(Range range)
                      throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeRange

        public boolean removeRange​(Range range)
      • getSpecifics

        public java.util.List<java.lang.String> getSpecifics()
      • setSpecifics

        public void setSpecifics​(java.util.List<java.lang.String> specifics)
      • addSpecific

        public void addSpecific​(java.lang.String specific)
                         throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeSpecific

        public boolean removeSpecific​(java.lang.String specific)
      • getIpMatches

        public java.util.List<java.lang.String> getIpMatches()
      • setIpMatches

        public void setIpMatches​(java.util.List<java.lang.String> ipMatches)
      • addIpMatch

        public void addIpMatch​(java.lang.String ipMatch)
                        throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeIpMatch

        public boolean removeIpMatch​(java.lang.String ipMatch)
      • getLocation

        public java.lang.String getLocation()
      • setLocation

        public void setLocation​(java.lang.String location)
      • getProfileLabel

        public java.lang.String getProfileLabel()
      • setProfileLabel

        public void setProfileLabel​(java.lang.String profileLabel)
      • equals

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