public static class UnifiedMessage.CriteriaBuilder extends Object
Constructor and Description |
---|
CriteriaBuilder(UnifiedMessage.Builder builder) |
Modifier and Type | Method and Description |
---|---|
UnifiedMessage.CriteriaBuilder |
aliases(List<String> aliases)
Sets a list of "identifiers", like username or email address.
|
UnifiedMessage.CriteriaBuilder |
aliases(String... aliases)
Sets a list of "identifiers", like username or email address.
|
UnifiedMessage |
build() |
UnifiedMessage.CriteriaBuilder |
categories(Set<String> categories)
A list of categories.
|
UnifiedMessage.CriteriaBuilder |
categories(String... categories)
A list of categories.
|
UnifiedMessage.ConfigBuilder |
config() |
UnifiedMessage.CriteriaBuilder |
deviceType(List<String> deviceType)
A filter for notifying only users running a certain device.
|
UnifiedMessage.CriteriaBuilder |
deviceType(String... deviceType)
A filter for notifying only users running a certain device.
|
org.jboss.aerogear.unifiedpush.message.Criteria |
getObject() |
UnifiedMessage.MessageBuilder |
message() |
UnifiedMessage.CriteriaBuilder |
variants(List<String> variants)
A filter for notifying only specific mobile variants of the Push Application.
|
UnifiedMessage.CriteriaBuilder |
variants(String... variants)
A filter for notifying only specific mobile variants of the Push Application.
|
public CriteriaBuilder(UnifiedMessage.Builder builder)
public UnifiedMessage.CriteriaBuilder aliases(List<String> aliases)
aliases
- a list of "identifiers", like username or email addressUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder aliases(String... aliases)
aliases
- a list of "identifiers", like username or email addressUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder variants(List<String> variants)
variants
- a list of mobile variants idsUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder variants(String... variants)
variants
- a list of mobile variants idsUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder categories(Set<String> categories)
categories
- a set of categoriesUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder categories(String... categories)
categories
- a list of categoriesUnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder deviceType(List<String> deviceType)
deviceType
- a list of devices i.e ["iPad","iPhone"]UnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.CriteriaBuilder deviceType(String... deviceType)
deviceType
- a list of devices i.e ["iPad","iPhone"]UnifiedMessage.CriteriaBuilder
instancepublic UnifiedMessage.MessageBuilder message()
public UnifiedMessage.ConfigBuilder config()
public UnifiedMessage build()
public org.jboss.aerogear.unifiedpush.message.Criteria getObject()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.