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>
Modifier and Type | Field and 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 and Description |
---|
WsmanConfig() |
Modifier and Type | Method and 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.
|
protected List<Definition> definition
protected Integer timeout
protected Integer retry
protected String username
protected String password
protected Integer port
protected Integer maxElements
protected Boolean ssl
protected Boolean strictSsl
protected String path
protected String productVendor
protected String productVersion
protected Boolean gssAuth
public List<Definition> getDefinition()
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
public Integer getTimeout()
getTimeout
in interface WsmanAgentConfig
Integer
public void setTimeout(Integer value)
value
- allowed object is
Integer
public Integer getRetry()
getRetry
in interface WsmanAgentConfig
Integer
public void setRetry(Integer value)
value
- allowed object is
Integer
public String getUsername()
getUsername
in interface WsmanAgentConfig
String
public void setUsername(String value)
value
- allowed object is
String
public String getPassword()
getPassword
in interface WsmanAgentConfig
String
public void setPassword(String value)
value
- allowed object is
String
public Integer getPort()
getPort
in interface WsmanAgentConfig
Integer
public void setPort(Integer value)
value
- allowed object is
Integer
public Integer getMaxElements()
getMaxElements
in interface WsmanAgentConfig
Integer
public void setMaxElements(Integer value)
value
- allowed object is
Integer
public Boolean isSsl()
isSsl
in interface WsmanAgentConfig
Boolean
public void setSsl(Boolean value)
value
- allowed object is
Boolean
public Boolean isStrictSsl()
isStrictSsl
in interface WsmanAgentConfig
Boolean
public void setStrictSsl(Boolean value)
value
- allowed object is
Boolean
public String getPath()
getPath
in interface WsmanAgentConfig
String
public void setPath(String value)
value
- allowed object is
String
public String getProductVendor()
getProductVendor
in interface WsmanAgentConfig
public void setProductVendor(String productVendor)
public String getProductVersion()
getProductVersion
in interface WsmanAgentConfig
public void setProductVersion(String productVersion)
public Boolean isGssAuth()
isGssAuth
in interface WsmanAgentConfig
public void setGssAuth(Boolean value)
Copyright © 2021. All rights reserved.