Package com.bosch.wdw

Class PushConfig

java.lang.Object
com.bosch.wdw.PushConfig

public class PushConfig extends 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 Details

    • PushConfig

      public PushConfig(URI pushServerURL, String variantID, 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 Details

    • getVariantID

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

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

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

      public String toString()
      Overrides:
      toString in class Object