Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.wsman.credentials.Definition
-
- All Implemented Interfaces:
WsmanAgentConfig
public class Definition 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}range" maxOccurs="unbounded" minOccurs="0"/> <element name="specific" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://xmlns.opennms.org/xsd/config/wsman}ip-match" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="retry" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="timeout" 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 Boolean
gssAuth
protected List<String>
ipMatch
protected Integer
maxElements
protected String
password
protected String
path
protected Integer
port
protected String
productVendor
protected String
productVersion
protected List<Range>
range
protected Integer
retry
protected List<String>
specific
protected Boolean
ssl
protected Boolean
strictSsl
protected Integer
timeout
protected String
username
-
Constructor Summary
Constructors Constructor Description Definition()
Definition(WsmanAgentConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<String>
getIpMatch()
Match Octets (as in IPLIKE) Gets the value of the ipMatch 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()
List<Range>
getRange()
IP address range to which this definition applies.Gets the value of the range property.Integer
getRetry()
Gets the value of the retry property.List<String>
getSpecific()
Gets the value of the specific 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
-
retry
protected Integer retry
-
timeout
protected Integer timeout
-
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
-
-
Constructor Detail
-
Definition
public Definition()
-
Definition
public Definition(WsmanAgentConfig config)
-
-
Method Detail
-
getRange
public List<Range> getRange()
IP address range to which this definition applies.Gets the value of the range 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 range property.For example, to add a new item, do as follows:
getRange().add(newItem);
Objects of the following type(s) are allowed in the list
Range
-
getSpecific
public List<String> getSpecific()
Gets the value of the specific 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 specific property.For example, to add a new item, do as follows:
getSpecific().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getIpMatch
public List<String> getIpMatch()
Match Octets (as in IPLIKE) Gets the value of the ipMatch 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 ipMatch property.For example, to add a new item, do as follows:
getIpMatch().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
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
-
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
-
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)
-
-