static Event |
Event.withConfiguration(String node,
DataForm configuration) |
Creates a pub-sub event with a configuration form.
|
static Event |
Event.withDeletion(String node) |
Creates a pub-sub event with delete information.
|
static Event |
Event.withDeletion(String node,
URI redirectUri) |
Creates a pub-sub event with delete information.
|
static Event |
Event.withItem(String node,
Object payload,
String id,
Jid publisher) |
Creates a pub-sub event with a single item.
|
static Event |
Event.withItems(String node,
List<Item> items) |
Creates a pub-sub event with items.
|
static Event |
Event.withPurge(String node) |
Creates a pub-sub event with purge information.
|
static Event |
Event.withRetractedItems(String node,
List<String> deletedItemIds) |
Creates a pub-sub event with delete information.
|
static Event |
Event.withSubscription(String node,
Jid jid,
SubscriptionState subscription) |
Creates a pub-sub event with subscription information.
|
static Event |
Event.withSubscription(String node,
Jid jid,
SubscriptionState subscription,
Instant expiry,
String subid) |
Creates a pub-sub event with subscription information.
|