Class WsmanConfig

  • All Implemented Interfaces:
    WsmanAgentConfig

    public class WsmanConfig
    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}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>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<Definition> definition  
      protected java.lang.Boolean gssAuth  
      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.lang.Integer retry  
      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
      WsmanConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.util.List<Definition> getDefinition()
      Maps IP addresses to specific WS-Man parameters(retries, timeouts...) Gets the value of the definition 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.lang.Integer getRetry()
      Gets the value of the retry 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • definition

        protected java.util.List<Definition> definition
      • timeout

        protected java.lang.Integer timeout
      • retry

        protected java.lang.Integer retry
      • 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

      • WsmanConfig

        public WsmanConfig()
    • Method Detail

      • getDefinition

        public java.util.List<Definition> getDefinition()
        Maps IP addresses to specific WS-Man parameters(retries, timeouts...) Gets the value of the definition 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 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

      • getTimeout

        public java.lang.Integer getTimeout()
        Gets the value of the timeout property.
        Specified by:
        getTimeout in interface WsmanAgentConfig
        Returns:
        possible object is Integer
      • setTimeout

        public void setTimeout​(java.lang.Integer value)
        Sets the value of the timeout property.
        Parameters:
        value - allowed object is Integer
      • getRetry

        public java.lang.Integer getRetry()
        Gets the value of the retry property.
        Specified by:
        getRetry in interface WsmanAgentConfig
        Returns:
        possible object is Integer
      • setRetry

        public void setRetry​(java.lang.Integer value)
        Sets the value of the retry property.
        Parameters:
        value - allowed object is Integer
      • getUsername

        public java.lang.String getUsername()
        Gets the value of the username property.
        Specified by:
        getUsername in interface WsmanAgentConfig
        Returns:
        possible object is String
      • setUsername

        public void setUsername​(java.lang.String value)
        Sets the value of the username property.
        Parameters:
        value - allowed object is String
      • getPassword

        public java.lang.String getPassword()
        Gets the value of the password property.
        Specified by:
        getPassword in interface WsmanAgentConfig
        Returns:
        possible object is String
      • setPassword

        public void setPassword​(java.lang.String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • getPort

        public java.lang.Integer getPort()
        Gets the value of the port property.
        Specified by:
        getPort in interface WsmanAgentConfig
        Returns:
        possible object is Integer
      • setPort

        public void setPort​(java.lang.Integer value)
        Sets the value of the port property.
        Parameters:
        value - allowed object is Integer
      • getMaxElements

        public java.lang.Integer getMaxElements()
        Gets the value of the maxElements property.
        Specified by:
        getMaxElements in interface WsmanAgentConfig
        Returns:
        possible object is Integer
      • setMaxElements

        public void setMaxElements​(java.lang.Integer value)
        Sets the value of the maxElements property.
        Parameters:
        value - allowed object is Integer
      • isSsl

        public java.lang.Boolean isSsl()
        Gets the value of the ssl property.
        Specified by:
        isSsl in interface WsmanAgentConfig
        Returns:
        possible object is Boolean
      • setSsl

        public void setSsl​(java.lang.Boolean value)
        Sets the value of the ssl property.
        Parameters:
        value - allowed object is Boolean
      • isStrictSsl

        public java.lang.Boolean isStrictSsl()
        Gets the value of the strictSsl property.
        Specified by:
        isStrictSsl in interface WsmanAgentConfig
        Returns:
        possible object is Boolean
      • setStrictSsl

        public void setStrictSsl​(java.lang.Boolean value)
        Sets the value of the strictSsl property.
        Parameters:
        value - allowed object is Boolean
      • getPath

        public java.lang.String getPath()
        Gets the value of the path property.
        Specified by:
        getPath in interface WsmanAgentConfig
        Returns:
        possible object is String
      • setPath

        public void setPath​(java.lang.String value)
        Sets the value of the path property.
        Parameters:
        value - allowed object is String
      • setProductVendor

        public void setProductVendor​(java.lang.String productVendor)
      • setProductVersion

        public void setProductVersion​(java.lang.String productVersion)
      • setGssAuth

        public void setGssAuth​(java.lang.Boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object