Package com.bosch.wdw

Class PushConfig


  • public class PushConfig
    extends java.lang.Object

    The PushConfig holds all config variables required for the push module.

    The PushConfig is provided to the WDWBuilder. It contains the following variables:

    1. pushServerURL - URL provided by Bosch.
    2. variantID - variantID provided by Bosch.
    3. variantSecret - variantSecret provided by Bosch.
    • Constructor Summary

      Constructors 
      Constructor Description
      PushConfig​(java.net.URI pushServerURL, java.lang.String variantID, java.lang.String variantSecret)
      Constructs a PushConfig object to register with the WDW push provider.
    • Constructor Detail

      • PushConfig

        public PushConfig​(java.net.URI pushServerURL,
                          java.lang.String variantID,
                          java.lang.String variantSecret)
        Constructs a PushConfig object to register with the WDW push provider.
        Parameters:
        pushServerURL - represents the server URL with which to register.
        variantID - represents the unique variant identifier.
        variantSecret - represents the variant secret key.
    • Method Detail

      • getVariantID

        public java.lang.String getVariantID()
        Returns the variantID
        Returns:
        the variant identifier as String.
      • getVariantSecret

        public java.lang.String getVariantSecret()
        Returns the variantSecret
        Returns:
        the variant secret as String.
      • getPushServerURL

        public java.net.URI getPushServerURL()
        Returns the pushServerURL
        Returns:
        the server URL as URI.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object