Class WmiConfig
- java.lang.Object
-
- org.opennms.netmgt.config.wmi.agent.WmiConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class WmiConfig extends java.lang.Object implements java.io.Serializable
This is the top-level element for wmi-config.xml- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WmiConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefinition(Definition definition)
boolean
equals(java.lang.Object obj)
java.util.List<Definition>
getDefinitions()
java.util.Optional<java.lang.String>
getDomain()
java.util.Optional<java.lang.String>
getPassword()
java.util.Optional<java.lang.Integer>
getRetry()
java.util.Optional<java.lang.Integer>
getTimeout()
java.util.Optional<java.lang.String>
getUsername()
int
hashCode()
boolean
removeDefinition(Definition definition)
void
setDefinitions(java.util.List<Definition> definitions)
void
setDomain(java.lang.String domain)
void
setPassword(java.lang.String password)
void
setRetry(java.lang.Integer retry)
void
setTimeout(java.lang.Integer timeout)
void
setUsername(java.lang.String username)
-
-
-
Method Detail
-
getTimeout
public java.util.Optional<java.lang.Integer> getTimeout()
-
setTimeout
public void setTimeout(java.lang.Integer timeout)
-
getRetry
public java.util.Optional<java.lang.Integer> getRetry()
-
setRetry
public void setRetry(java.lang.Integer retry)
-
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)
-
getDefinitions
public java.util.List<Definition> getDefinitions()
-
setDefinitions
public void setDefinitions(java.util.List<Definition> definitions)
-
addDefinition
public void addDefinition(Definition definition)
-
removeDefinition
public boolean removeDefinition(Definition definition)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-