Package | Description |
---|---|
rocks.xmpp.extensions.pubsub.model |
Provides XML schema implementations and configuration classes for XEP-0060: Publish-Subscribe.
|
Modifier and Type | Method and Description |
---|---|
NodeConfiguration.Builder |
NodeConfiguration.Builder.accessModel(AccessModel accessModel)
Who may subscribe and retrieve items.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.allowSubscriptions(boolean allowSubscriptions)
Whether to allow subscriptions.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.bodyXslt(java.net.URL bodyXslt)
The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.
|
static NodeConfiguration.Builder |
NodeConfiguration.builder()
Gets the builder to build a node configuration.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.children(java.util.Collection<java.lang.String> children)
The child nodes (leaf or collection) associated with a collection.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.childrenAssociationPolicy(ChildrenAssociationPolicy childrenAssociationPolicy)
Who may associate leaf nodes with a collection.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.childrenAssociationWhitelist(java.util.Collection<Jid> childrenAssociationWhitelist)
The list of JIDs that may associate leaf nodes with a collection.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.childrenMax(int childrenMax)
The maximum number of child nodes that can be associated with a collection.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.collection(java.util.Collection<java.lang.String> collection)
The collection(s) with which a node is affiliated.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.contacts(java.util.Collection<Jid> contacts)
The JIDs of those to contact with questions
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.dataformXslt(java.net.URL dataformXslt)
The URL of an XSL transformation which can be applied to the payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.deliverNotifications(boolean deliverNotifications)
Whether to deliver event notifications.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.deliverPayloads(boolean deliverPayloads)
Whether to deliver payloads with event notifications; applies only to leaf nodes.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.description(java.lang.String description)
A description of the node.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.itemExpire(int itemExpire)
Number of seconds after which to automatically purge items.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.itemReply(ItemReply itemReply)
Whether owners or publisher should receive replies to items.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.language(java.util.Locale language)
The default language of the node.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.maxItems(int maxItems)
The maximum number of items to persist.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.maxPayloadSize(int maxPayloadSize)
The maximum payload size in bytes.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.nodeTitle(java.lang.String title)
A friendly name for the node.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.nodeType(NodeType nodeType)
Whether the node is a leaf (default) or a collection.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notificationType(Message.Type notificationType)
Specify the delivery style for notifications.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notifyConfig(boolean notifyConfig)
Whether to notify subscribers when the node configuration changes.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notifyDelete(boolean notifyDelete)
Whether to notify subscribers when the node is deleted.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notifyRetract(boolean notifyRetract)
Whether to notify subscribers when items are removed from the node.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.notifySub(boolean notifySub)
Whether to notify owners about new subscribers and unsubscribes.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.persistItems(boolean persistItems)
Whether to persist items to storage.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.presenceBasedDelivery(boolean presenceBasedDelivery)
Whether to deliver notifications to available users only.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.publisherModel(PublisherModel publisherModel)
The publisher model.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.purgeOffline(boolean purgeOffline)
Whether to purge all items when the relevant publisher goes offline.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.rosterGroupsAllowed(java.util.Collection<java.lang.String> rosterGroupsAllowed)
The roster group(s) allowed to subscribe and retrieve items.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.sendLastPublishedItem(SendLastPublishedItem sendLastPublishedItem)
When to send the last published item.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.temporarySubscriptions(boolean temporarySubscriptions)
Whether to make all subscriptions temporary, based on subscriber presence.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.type(java.lang.String type)
The type of node data, usually specified by the namespace of the payload (if any).
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.