public class PushConfig extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableSet<String> |
senderIds |
| Constructor and Description |
|---|
PushConfig(String... senderId) |
PushConfig(URI pushServerURI,
String... senderId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
The Alias is an identifier of the user of the system.
|
List<String> |
getCategories()
The categories specifies a channel which may be used to send messages
|
String |
getDeviceToken()
The device token Identifies the device within its Push Network.
|
String |
getDeviceType()
Device type determines which cloud messaging system will be used by the
AeroGear Unified Push Server
Defaults to ANDROID
|
String |
getOperatingSystem()
The name of the operating system.
|
String |
getOsVersion()
The version of the operating system running.
|
URI |
getPushServerURI()
RegistryURL is the URL of the 3rd party application server
|
String |
getSecret()
Secret of the Variant from the AeroGear UnifiedPush Server.
|
PushType |
getType()
The type is a key which is used by Registrations to know which
implementation of PushRegister to use.
|
String |
getVariantID()
ID of the Variant from the AeroGear UnifiedPush Server.
|
void |
setAlias(String alias)
The Alias is an identifier of the user of the system.
|
void |
setCategories(List<String> categories)
The categories specifies a channel which may be used to send messages
|
void |
setDeviceToken(String deviceToken)
The device token Identifies the device within its Push Network.
|
void |
setDeviceType(String deviceType)
Device type determines which cloud messaging system will be used by the
AeroGear Unified Push Server.
|
void |
setOperatingSystem(String operatingSystem)
The name of the operating system.
|
void |
setOsVersion(String osVersion)
The version of the operating system running.
|
void |
setPushServerURI(URI pushServerURI)
RegistryURL is the URL of the 3rd party application server
|
void |
setSecret(String secret)
Secret of the Variant from the AeroGear UnifiedPush Server.
|
void |
setType(PushType type)
The type is a key which is used by Registrations to know which
implementation of PushRegister to use.
|
void |
setVariantID(String variantID)
ID of the Variant from the AeroGear UnifiedPush Server.
|
public final com.google.common.collect.ImmutableSet<String> senderIds
public PushConfig(String... senderId)
public String getDeviceToken()
public void setDeviceToken(String deviceToken)
deviceToken - the new device tokenpublic String getVariantID()
public void setVariantID(String variantID)
variantID - the new variantIDpublic String getSecret()
public void setSecret(String secret)
secret - the new secretpublic String getDeviceType()
public void setDeviceType(String deviceType)
deviceType - a new device typepublic String getOperatingSystem()
public void setOperatingSystem(String operatingSystem)
operatingSystem - the new operating systempublic String getOsVersion()
public void setOsVersion(String osVersion)
osVersion - the new osVersionpublic String getAlias()
public void setAlias(String alias)
alias - the new aliaspublic List<String> getCategories()
public void setCategories(List<String> categories)
categories - the new categoriespublic PushType getType()
public void setType(PushType type)
type - the new typepublic URI getPushServerURI()
public void setPushServerURI(URI pushServerURI)
pushServerURI - a new URICopyright © 2014 JBoss by Red Hat. All rights reserved.