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.BooleangssAuthprotected java.util.List<java.lang.String>ipMatchprotected java.lang.IntegermaxElementsprotected java.lang.Stringpasswordprotected java.lang.Stringpathprotected java.lang.Integerportprotected java.lang.StringproductVendorprotected java.lang.StringproductVersionprotected java.util.List<Range>rangeprotected java.lang.Integerretryprotected java.util.List<java.lang.String>specificprotected java.lang.Booleansslprotected java.lang.BooleanstrictSslprotected java.lang.Integertimeoutprotected java.lang.Stringusername
-
Constructor Summary
Constructors Constructor Description Definition()Definition(WsmanAgentConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(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.IntegergetMaxElements()Gets the value of the maxElements property.java.lang.StringgetPassword()Gets the value of the password property.java.lang.StringgetPath()Gets the value of the path property.java.lang.IntegergetPort()Gets the value of the port property.java.lang.StringgetProductVendor()java.lang.StringgetProductVersion()java.util.List<Range>getRange()IP address range to which this definition applies.Gets the value of the range property.java.lang.IntegergetRetry()Gets the value of the retry property.java.util.List<java.lang.String>getSpecific()Gets the value of the specific property.java.lang.IntegergetTimeout()Gets the value of the timeout property.java.lang.StringgetUsername()Gets the value of the username property.inthashCode()java.lang.BooleanisGssAuth()java.lang.BooleanisSsl()Gets the value of the ssl property.java.lang.BooleanisStrictSsl()Gets the value of the strictSsl property.voidsetGssAuth(java.lang.Boolean value)voidsetMaxElements(java.lang.Integer value)Sets the value of the maxElements property.voidsetPassword(java.lang.String value)Sets the value of the password property.voidsetPath(java.lang.String value)Sets the value of the path property.voidsetPort(java.lang.Integer value)Sets the value of the port property.voidsetProductVendor(java.lang.String productVendor)voidsetProductVersion(java.lang.String productVersion)voidsetRetry(java.lang.Integer value)Sets the value of the retry property.voidsetSsl(java.lang.Boolean value)Sets the value of the ssl property.voidsetStrictSsl(java.lang.Boolean value)Sets the value of the strictSsl property.voidsetTimeout(java.lang.Integer value)Sets the value of the timeout property.voidsetUsername(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
setmethod 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
setmethod 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
setmethod 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:
getRetryin 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:
getTimeoutin 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:
getUsernamein 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:
getPasswordin 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:
getPortin 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:
getMaxElementsin 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:
isSslin 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:
isStrictSslin 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:
getPathin 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:
getProductVendorin interfaceWsmanAgentConfig
-
setProductVendor
public void setProductVendor(java.lang.String productVendor)
-
getProductVersion
public java.lang.String getProductVersion()
- Specified by:
getProductVersionin interfaceWsmanAgentConfig
-
setProductVersion
public void setProductVersion(java.lang.String productVersion)
-
isGssAuth
public java.lang.Boolean isGssAuth()
- Specified by:
isGssAuthin interfaceWsmanAgentConfig
-
setGssAuth
public void setGssAuth(java.lang.Boolean value)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-