Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.wmi.agent.Definition
-
- All Implemented Interfaces:
Serializable
public class Definition extends Object implements Serializable
Provides a mechanism for associating one or more specific IP addresses and/or IP address ranges with a set of WMI parms which will be used in place of the default values during WMI data collection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Definition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIpMatch(String ipMatch)
void
addRange(Range range)
void
addSpecific(String specific)
boolean
equals(Object obj)
Optional<String>
getDomain()
List<String>
getIpMatches()
Optional<String>
getPassword()
List<Range>
getRanges()
Integer
getRetry()
List<String>
getSpecifics()
Integer
getTimeout()
Optional<String>
getUsername()
int
hashCode()
boolean
removeIpMatch(String ipMatch)
boolean
removeRange(Range range)
boolean
removeSpecific(String specific)
void
setDomain(String domain)
void
setIpMatches(List<String> ipMatches)
void
setPassword(String password)
void
setRanges(List<Range> ranges)
void
setRetry(Integer retry)
void
setSpecifics(List<String> specifics)
void
setTimeout(Integer timeout)
void
setUsername(String username)
-
-
-
Method Detail
-
getRetry
public Integer getRetry()
-
setRetry
public void setRetry(Integer retry)
-
getTimeout
public Integer getTimeout()
-
setTimeout
public void setTimeout(Integer timeout)
-
setUsername
public void setUsername(String username)
-
setDomain
public void setDomain(String domain)
-
setPassword
public void setPassword(String password)
-
addRange
public void addRange(Range range)
-
removeRange
public boolean removeRange(Range range)
-
addSpecific
public void addSpecific(String specific)
-
removeSpecific
public boolean removeSpecific(String specific)
-
addIpMatch
public void addIpMatch(String ipMatch)
-
removeIpMatch
public boolean removeIpMatch(String ipMatch)
-
-