Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.wsman.Definition
-
- All Implemented Interfaces:
WsmanAgentConfig
public class Definition extends java.lang.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 java.lang.Boolean
gssAuth
protected java.util.List<java.lang.String>
ipMatch
protected java.lang.Integer
maxElements
protected java.lang.String
password
protected java.lang.String
path
protected java.lang.Integer
port
protected java.lang.String
productVendor
protected java.lang.String
productVersion
protected java.util.List<Range>
range
protected java.lang.Integer
retry
protected java.util.List<java.lang.String>
specific
protected java.lang.Boolean
ssl
protected java.lang.Boolean
strictSsl
protected java.lang.Integer
timeout
protected java.lang.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(java.lang.Object obj)
java.util.List<java.lang.String>
getIpMatch()
Match Octets (as in IPLIKE) Gets the value of the ipMatch property.java.lang.Integer
getMaxElements()
Gets the value of the maxElements property.java.lang.String
getPassword()
Gets the value of the password property.java.lang.String
getPath()
Gets the value of the path property.java.lang.Integer
getPort()
Gets the value of the port property.java.lang.String
getProductVendor()
java.lang.String
getProductVersion()
java.util.List<Range>
getRange()
IP address range to which this definition applies.Gets the value of the range property.java.lang.Integer
getRetry()
Gets the value of the retry property.java.util.List<java.lang.String>
getSpecific()
Gets the value of the specific property.java.lang.Integer
getTimeout()
Gets the value of the timeout property.java.lang.String
getUsername()
Gets the value of the username property.int
hashCode()
java.lang.Boolean
isGssAuth()
java.lang.Boolean
isSsl()
Gets the value of the ssl property.java.lang.Boolean
isStrictSsl()
Gets the value of the strictSsl property.void
setGssAuth(java.lang.Boolean value)
void
setMaxElements(java.lang.Integer value)
Sets the value of the maxElements property.void
setPassword(java.lang.String value)
Sets the value of the password property.void
setPath(java.lang.String value)
Sets the value of the path property.void
setPort(java.lang.Integer value)
Sets the value of the port property.void
setProductVendor(java.lang.String productVendor)
void
setProductVersion(java.lang.String productVersion)
void
setRetry(java.lang.Integer value)
Sets the value of the retry property.void
setSsl(java.lang.Boolean value)
Sets the value of the ssl property.void
setStrictSsl(java.lang.Boolean value)
Sets the value of the strictSsl property.void
setTimeout(java.lang.Integer value)
Sets the value of the timeout property.void
setUsername(java.lang.String value)
Sets the value of the username property.
-
-
-
Field Detail
-
range
protected java.util.List<Range> range
-
specific
protected java.util.List<java.lang.String> specific
-
ipMatch
protected java.util.List<java.lang.String> ipMatch
-
retry
protected java.lang.Integer retry
-
timeout
protected java.lang.Integer timeout
-
username
protected java.lang.String username
-
password
protected java.lang.String password
-
port
protected java.lang.Integer port
-
maxElements
protected java.lang.Integer maxElements
-
ssl
protected java.lang.Boolean ssl
-
strictSsl
protected java.lang.Boolean strictSsl
-
path
protected java.lang.String path
-
productVendor
protected java.lang.String productVendor
-
productVersion
protected java.lang.String productVersion
-
gssAuth
protected java.lang.Boolean gssAuth
-
-
Constructor Detail
-
Definition
public Definition()
-
Definition
public Definition(WsmanAgentConfig config)
-
-
Method Detail
-
getRange
public java.util.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.lang.Integer getRetry()
Gets the value of the retry property.- Specified by:
getRetry
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setRetry
public void setRetry(java.lang.Integer value)
Sets the value of the retry property.- Parameters:
value
- allowed object isInteger
-
getTimeout
public java.lang.Integer getTimeout()
Gets the value of the timeout property.- Specified by:
getTimeout
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setTimeout
public void setTimeout(java.lang.Integer value)
Sets the value of the timeout property.- Parameters:
value
- allowed object isInteger
-
getUsername
public java.lang.String getUsername()
Gets the value of the username property.- Specified by:
getUsername
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setUsername
public void setUsername(java.lang.String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
getPassword
public java.lang.String getPassword()
Gets the value of the password property.- Specified by:
getPassword
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setPassword
public void setPassword(java.lang.String value)
Sets the value of the password property.- Parameters:
value
- allowed object isString
-
getPort
public java.lang.Integer getPort()
Gets the value of the port property.- Specified by:
getPort
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setPort
public void setPort(java.lang.Integer value)
Sets the value of the port property.- Parameters:
value
- allowed object isInteger
-
getMaxElements
public java.lang.Integer getMaxElements()
Gets the value of the maxElements property.- Specified by:
getMaxElements
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Integer
-
setMaxElements
public void setMaxElements(java.lang.Integer value)
Sets the value of the maxElements property.- Parameters:
value
- allowed object isInteger
-
isSsl
public java.lang.Boolean isSsl()
Gets the value of the ssl property.- Specified by:
isSsl
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Boolean
-
setSsl
public void setSsl(java.lang.Boolean value)
Sets the value of the ssl property.- Parameters:
value
- allowed object isBoolean
-
isStrictSsl
public java.lang.Boolean isStrictSsl()
Gets the value of the strictSsl property.- Specified by:
isStrictSsl
in interfaceWsmanAgentConfig
- Returns:
- possible object is
Boolean
-
setStrictSsl
public void setStrictSsl(java.lang.Boolean value)
Sets the value of the strictSsl property.- Parameters:
value
- allowed object isBoolean
-
getPath
public java.lang.String getPath()
Gets the value of the path property.- Specified by:
getPath
in interfaceWsmanAgentConfig
- Returns:
- possible object is
String
-
setPath
public void setPath(java.lang.String value)
Sets the value of the path property.- Parameters:
value
- allowed object isString
-
getProductVendor
public java.lang.String getProductVendor()
- Specified by:
getProductVendor
in interfaceWsmanAgentConfig
-
setProductVendor
public void setProductVendor(java.lang.String productVendor)
-
getProductVersion
public java.lang.String getProductVersion()
- Specified by:
getProductVersion
in interfaceWsmanAgentConfig
-
setProductVersion
public void setProductVersion(java.lang.String productVersion)
-
isGssAuth
public java.lang.Boolean isGssAuth()
- Specified by:
isGssAuth
in interfaceWsmanAgentConfig
-
setGssAuth
public void setGssAuth(java.lang.Boolean value)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-