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 WsmanAgentConfigIntegerpublic void setTimeout(Integer value)
value - allowed object is
Integerpublic Integer getRetry()
getRetry in interface WsmanAgentConfigIntegerpublic void setRetry(Integer value)
value - allowed object is
Integerpublic String getUsername()
getUsername in interface WsmanAgentConfigStringpublic void setUsername(String value)
value - allowed object is
Stringpublic String getPassword()
getPassword in interface WsmanAgentConfigStringpublic void setPassword(String value)
value - allowed object is
Stringpublic Integer getPort()
getPort in interface WsmanAgentConfigIntegerpublic void setPort(Integer value)
value - allowed object is
Integerpublic Integer getMaxElements()
getMaxElements in interface WsmanAgentConfigIntegerpublic void setMaxElements(Integer value)
value - allowed object is
Integerpublic Boolean isSsl()
isSsl in interface WsmanAgentConfigBooleanpublic void setSsl(Boolean value)
value - allowed object is
Booleanpublic Boolean isStrictSsl()
isStrictSsl in interface WsmanAgentConfigBooleanpublic void setStrictSsl(Boolean value)
value - allowed object is
Booleanpublic String getPath()
getPath in interface WsmanAgentConfigStringpublic void setPath(String value)
value - allowed object is
Stringpublic String getProductVendor()
getProductVendor in interface WsmanAgentConfigpublic void setProductVendor(String productVendor)
public String getProductVersion()
getProductVersion in interface WsmanAgentConfigpublic void setProductVersion(String productVersion)
public Boolean isGssAuth()
isGssAuth in interface WsmanAgentConfigpublic void setGssAuth(Boolean value)
Copyright © 2020. All rights reserved.