Class Package
- java.lang.Object
-
- org.opennms.netmgt.config.snmpinterfacepoller.Package
-
- All Implemented Interfaces:
java.io.Serializable
public class Package extends java.lang.Object implements java.io.Serializable
Package encapsulating addresses, services to be polled for these addresses, etc..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Package()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExcludeRange(ExcludeRange excludeRange)
void
addIncludeRange(IncludeRange includeRange)
void
addIncludeUrl(java.lang.String includeUrl)
void
addInterface(Interface iface)
void
addSpecific(java.lang.String specific)
boolean
equals(java.lang.Object obj)
java.util.List<ExcludeRange>
getExcludeRanges()
Filter
getFilter()
java.util.List<IncludeRange>
getIncludeRanges()
java.util.List<java.lang.String>
getIncludeUrls()
java.util.List<Interface>
getInterfaces()
java.lang.String
getName()
java.util.List<java.lang.String>
getSpecifics()
int
hashCode()
boolean
removeExcludeRange(ExcludeRange excludeRange)
boolean
removeIncludeRange(IncludeRange includeRange)
boolean
removeIncludeUrl(java.lang.String includeUrl)
boolean
removeInterface(Interface iface)
boolean
removeSpecific(java.lang.String specific)
void
setExcludeRanges(java.util.List<ExcludeRange> excludeRanges)
void
setFilter(Filter filter)
void
setIncludeRanges(java.util.List<IncludeRange> includeRanges)
void
setIncludeUrls(java.util.List<java.lang.String> includeUrls)
void
setInterfaces(java.util.List<Interface> interfaces)
void
setName(java.lang.String name)
void
setSpecifics(java.util.List<java.lang.String> specifics)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getFilter
public Filter getFilter()
-
setFilter
public void setFilter(Filter filter)
-
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)
-
removeSpecific
public boolean removeSpecific(java.lang.String specific)
-
getIncludeRanges
public java.util.List<IncludeRange> getIncludeRanges()
-
setIncludeRanges
public void setIncludeRanges(java.util.List<IncludeRange> includeRanges)
-
addIncludeRange
public void addIncludeRange(IncludeRange includeRange)
-
removeIncludeRange
public boolean removeIncludeRange(IncludeRange includeRange)
-
getExcludeRanges
public java.util.List<ExcludeRange> getExcludeRanges()
-
setExcludeRanges
public void setExcludeRanges(java.util.List<ExcludeRange> excludeRanges)
-
addExcludeRange
public void addExcludeRange(ExcludeRange excludeRange)
-
removeExcludeRange
public boolean removeExcludeRange(ExcludeRange excludeRange)
-
getIncludeUrls
public java.util.List<java.lang.String> getIncludeUrls()
-
setIncludeUrls
public void setIncludeUrls(java.util.List<java.lang.String> includeUrls)
-
addIncludeUrl
public void addIncludeUrl(java.lang.String includeUrl)
-
removeIncludeUrl
public boolean removeIncludeUrl(java.lang.String includeUrl)
-
getInterfaces
public java.util.List<Interface> getInterfaces()
-
setInterfaces
public void setInterfaces(java.util.List<Interface> interfaces)
-
addInterface
public void addInterface(Interface iface)
-
removeInterface
public boolean removeInterface(Interface iface)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-