Class WsmanConfig

  • All Implemented Interfaces:
    WsmanAgentConfig

    public class WsmanConfig
    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}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>
     
    • Constructor Detail

      • WsmanConfig

        public WsmanConfig()
    • Method Detail

      • getDefinition

        public 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

      • setTimeout

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

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

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

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

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

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

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

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

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

        public void setProductVendor​(String productVendor)
      • setProductVersion

        public void setProductVersion​(String productVersion)
      • setGssAuth

        public void setGssAuth​(Boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object