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:
| Constructor and 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. |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getPushServerURL()
Returns the pushServerURL
|
java.lang.String |
getVariantID()
Returns the variantID
|
java.lang.String |
getVariantSecret()
Returns the variantSecret
|
java.lang.String |
toString() |
public PushConfig(java.net.URI pushServerURL,
java.lang.String variantID,
java.lang.String variantSecret)
PushConfig object to register with the WDW push provider.pushServerURL - represents the server URL with which to register.variantID - represents the unique variant identifier.variantSecret - represents the variant secret key.public java.lang.String getVariantID()
public java.lang.String getVariantSecret()
public java.net.URI getPushServerURL()
URI.public java.lang.String toString()
toString in class java.lang.Object