Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.wmi.agent.Definition
-
- All Implemented Interfaces:
java.io.Serializable
public class Definition extends java.lang.Object implements java.io.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(java.lang.String ipMatch)
void
addRange(Range range)
void
addSpecific(java.lang.String specific)
boolean
equals(java.lang.Object obj)
java.util.Optional<java.lang.String>
getDomain()
java.util.List<java.lang.String>
getIpMatches()
java.util.Optional<java.lang.String>
getPassword()
java.util.List<Range>
getRanges()
java.lang.Integer
getRetry()
java.util.List<java.lang.String>
getSpecifics()
java.lang.Integer
getTimeout()
java.util.Optional<java.lang.String>
getUsername()
int
hashCode()
boolean
removeIpMatch(java.lang.String ipMatch)
boolean
removeRange(Range range)
boolean
removeSpecific(java.lang.String specific)
void
setDomain(java.lang.String domain)
void
setIpMatches(java.util.List<java.lang.String> ipMatches)
void
setPassword(java.lang.String password)
void
setRanges(java.util.List<Range> ranges)
void
setRetry(java.lang.Integer retry)
void
setSpecifics(java.util.List<java.lang.String> specifics)
void
setTimeout(java.lang.Integer timeout)
void
setUsername(java.lang.String username)
-
-
-
Method Detail
-
getRetry
public java.lang.Integer getRetry()
-
setRetry
public void setRetry(java.lang.Integer retry)
-
getTimeout
public java.lang.Integer getTimeout()
-
setTimeout
public void setTimeout(java.lang.Integer timeout)
-
getUsername
public java.util.Optional<java.lang.String> getUsername()
-
setUsername
public void setUsername(java.lang.String username)
-
getDomain
public java.util.Optional<java.lang.String> getDomain()
-
setDomain
public void setDomain(java.lang.String domain)
-
getPassword
public java.util.Optional<java.lang.String> getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getRanges
public java.util.List<Range> getRanges()
-
setRanges
public void setRanges(java.util.List<Range> ranges)
-
addRange
public void addRange(Range range)
-
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)
-
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)
-
removeIpMatch
public boolean removeIpMatch(java.lang.String ipMatch)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-