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