Class WsmanConfig
- java.lang.Object
-
- org.opennms.netmgt.config.wsman.credentials.WsmanConfig
-
- All Implemented Interfaces:
WsmanAgentConfig
public class WsmanConfig extends Object implements WsmanAgentConfig
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://xmlns.opennms.org/xsd/config/wsman}definition" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="retry" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="max-elements" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="ssl" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="strict-ssl" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Definition>
definition
protected Boolean
gssAuth
protected Integer
maxElements
protected String
password
protected String
path
protected Integer
port
protected String
productVendor
protected String
productVersion
protected Integer
retry
protected Boolean
ssl
protected Boolean
strictSsl
protected Integer
timeout
protected String
username
-
Constructor Summary
Constructors Constructor Description WsmanConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Definition>
getDefinition()
Maps IP addresses to specific WS-Man parameters(retries, timeouts...) Gets the value of the definition property.Integer
getMaxElements()
Gets the value of the maxElements property.String
getPassword()
Gets the value of the password property.String
getPath()
Gets the value of the path property.Integer
getPort()
Gets the value of the port property.String
getProductVendor()
String
getProductVersion()
Integer
getRetry()
Gets the value of the retry property.Integer
getTimeout()
Gets the value of the timeout property.String
getUsername()
Gets the value of the username property.int
hashCode()
Boolean
isGssAuth()
Boolean
isSsl()
Gets the value of the ssl property.Boolean
isStrictSsl()
Gets the value of the strictSsl property.void
setGssAuth(Boolean value)
void
setMaxElements(Integer value)
Sets the value of the maxElements property.void
setPassword(String value)
Sets the value of the password property.void
setPath(String value)
Sets the value of the path property.void
setPort(Integer value)
Sets the value of the port property.void
setProductVendor(String productVendor)
void
setProductVersion(String productVersion)
void
setRetry(Integer value)
Sets the value of the retry property.void
setSsl(Boolean value)
Sets the value of the ssl property.void
setStrictSsl(Boolean value)
Sets the value of the strictSsl property.void
setTimeout(Integer value)
Sets the value of the timeout property.void
setUsername(String value)
Sets the value of the username property.
-
-
-
Field Detail
-
definition
protected List<Definition> definition
-
timeout
protected Integer timeout
-
retry
protected Integer retry
-
username
protected String username
-
password
protected String password
-
port
protected Integer port
-
maxElements
protected Integer maxElements
-
ssl
protected Boolean ssl
-
strictSsl
protected Boolean strictSsl
-
path
protected String path
-
productVendor
protected String productVendor
-
productVersion
protected String productVersion
-
gssAuth
protected Boolean gssAuth
-
-
Method Detail
-
getDefinition
public List<Definition> getDefinition()
Maps IP addresses to specific WS-Man parameters(retries, timeouts...) Gets the value of the definition property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the definition property.For example, to add a new item, do as follows:
getDefinition().add(newItem);
Objects of the following type(s) are allowed in the list
Definition
-
getTimeout
public Integer getTimeout()
Gets the value of the timeout property.- Specified by:
getTimeout
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setTimeout
public void setTimeout(Integer value)
Sets the value of the timeout property.- Parameters:
value
- allowed object isInteger
-
getRetry
public Integer getRetry()
Gets the value of the retry property.- Specified by:
getRetry
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setRetry
public void setRetry(Integer value)
Sets the value of the retry property.- Parameters:
value
- allowed object isInteger
-
getUsername
public String getUsername()
Gets the value of the username property.- Specified by:
getUsername
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setUsername
public void setUsername(String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getPassword
public String getPassword()
Gets the value of the password property.- Specified by:
getPassword
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setPassword
public void setPassword(String value)
Sets the value of the password property.- Parameters:
value
- allowed object isString
-
getPort
public Integer getPort()
Gets the value of the port property.- Specified by:
getPort
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setPort
public void setPort(Integer value)
Sets the value of the port property.- Parameters:
value
- allowed object isInteger
-
getMaxElements
public Integer getMaxElements()
Gets the value of the maxElements property.- Specified by:
getMaxElements
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setMaxElements
public void setMaxElements(Integer value)
Sets the value of the maxElements property.- Parameters:
value
- allowed object isInteger
-
isSsl
public Boolean isSsl()
Gets the value of the ssl property.- Specified by:
isSsl
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Boolean
-
setSsl
public void setSsl(Boolean value)
Sets the value of the ssl property.- Parameters:
value
- allowed object isBoolean
-
isStrictSsl
public Boolean isStrictSsl()
Gets the value of the strictSsl property.- Specified by:
isStrictSsl
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Boolean
-
setStrictSsl
public void setStrictSsl(Boolean value)
Sets the value of the strictSsl property.- Parameters:
value
- allowed object isBoolean
-
getPath
public String getPath()
Gets the value of the path property.- Specified by:
getPath
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value
- allowed object isString
-
getProductVendor
public String getProductVendor()
- Specified by:
getProductVendor
in interfaceWsmanAgentConfig
-
setProductVendor
public void setProductVendor(String productVendor)
-
getProductVersion
public String getProductVersion()
- Specified by:
getProductVersion
in interfaceWsmanAgentConfig
-
setProductVersion
public void setProductVersion(String productVersion)
-
isGssAuth
public Boolean isGssAuth()
- Specified by:
isGssAuth
in interfaceWsmanAgentConfig
-
setGssAuth
public void setGssAuth(Boolean value)
-
-