Class IpList
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.IpList
-
- All Implemented Interfaces:
Serializable
public class IpList extends Object implements Serializable
list of IP address or IP address mask values to which this system definition applies.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IpList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIpAddress(String ipAddr)
void
addIpAddressMask(String mask)
boolean
equals(Object obj)
List<String>
getIpAddresses()
List<String>
getIpAddressMasks()
int
hashCode()
boolean
removeIpAddress(String ipAddr)
boolean
removeIpAddressMask(String mask)
void
setIpAddresses(List<String> ipAddrs)
void
setIpAddressMasks(List<String> masks)
String
toString()
void
visit(DatacollectionConfigVisitor visitor)
-
-
-
Method Detail
-
addIpAddress
public void addIpAddress(String ipAddr) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeIpAddress
public boolean removeIpAddress(String ipAddr)
-
addIpAddressMask
public void addIpAddressMask(String mask) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeIpAddressMask
public boolean removeIpAddressMask(String mask)
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
-