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 voidaddIpAddress(String ipAddr)voidaddIpAddressMask(String mask)booleanequals(Object obj)List<String>getIpAddresses()List<String>getIpAddressMasks()inthashCode()booleanremoveIpAddress(String ipAddr)booleanremoveIpAddressMask(String mask)voidsetIpAddresses(List<String> ipAddrs)voidsetIpAddressMasks(List<String> masks)StringtoString()voidvisit(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)
-
-