public final class UnifiedPushConfig extends Object
| Constructor and Description |
|---|
UnifiedPushConfig() |
| Modifier and Type | Method and Description |
|---|---|
UnifiedPushConfig |
addCategories(List<String> categories)
The categories specifies a channel which may be used to send messages
|
UnifiedPushConfig |
addCategory(String category)
The categories specifies a channel which may be used to send messages
|
void |
checkRequiredFields() |
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.
|
String |
getSenderId()
SenderId is a GCM sender Id (usually a project number) registered for
this application.
|
String |
getVariantID()
ID of the Variant from the AeroGear UnifiedPush Server.
|
UnifiedPushConfig |
setAlias(String alias)
The Alias is an identifier of the user of the system.
|
UnifiedPushConfig |
setCategories(List<String> categories)
The categories specifies a channel which may be used to send messages
|
UnifiedPushConfig |
setCategories(String... categories)
The categories specifies a channel which may be used to send messages
|
UnifiedPushConfig |
setDeviceType(String deviceType)
Device type determines which cloud messaging system will be used by the
AeroGear Unified Push Server.
|
UnifiedPushConfig |
setOperatingSystem(String operatingSystem)
The name of the operating system.
|
UnifiedPushConfig |
setPushServerURI(URI pushServerURI)
RegistryURL is the URL of the 3rd party application server
|
UnifiedPushConfig |
setSecret(String secret)
Secret of the Variant from the AeroGear UnifiedPush Server.
|
UnifiedPushConfig |
setSenderId(String senderId)
SenderId is a GCM sender Id (usually a project number) registered for
this application.
|
UnifiedPushConfig |
setVariantID(String variantID)
ID of the Variant from the AeroGear UnifiedPush Server.
|
public URI getPushServerURI()
public UnifiedPushConfig setPushServerURI(URI pushServerURI)
pushServerURI - a new URIpublic String getSenderId()
public UnifiedPushConfig setSenderId(String senderId)
senderId - the new senderId to set.public String getVariantID()
public UnifiedPushConfig setVariantID(String variantID)
variantID - the new variantIDpublic String getSecret()
public UnifiedPushConfig setSecret(String secret)
secret - the new secretpublic String getDeviceToken()
public String getDeviceType()
public UnifiedPushConfig setDeviceType(String deviceType)
deviceType - a new device typepublic String getOperatingSystem()
public UnifiedPushConfig setOperatingSystem(String operatingSystem)
operatingSystem - the new operating systempublic String getOsVersion()
public String getAlias()
public UnifiedPushConfig setAlias(String alias)
alias - the new aliaspublic List<String> getCategories()
public UnifiedPushConfig setCategories(List<String> categories)
categories - the new categoriespublic UnifiedPushConfig setCategories(String... categories)
categories - the new categoriespublic UnifiedPushConfig addCategory(String category)
category - a new category to be added to the current list.public UnifiedPushConfig addCategories(List<String> categories)
categories - a category collection to be added to the current list.public void checkRequiredFields()
Copyright © 2016 JBoss by Red Hat. All rights reserved.