Package | Description |
---|---|
rocks.xmpp.extensions.privacy.model |
Provides XML schema implementations of XEP-0016: Privacy Lists.
|
Modifier and Type | Method and Description |
---|---|
PrivacyRule.Action |
PrivacyRule.getAction()
Sets the action to perform (either allow or deny).
|
static PrivacyRule.Action |
PrivacyRule.Action.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrivacyRule.Action[] |
PrivacyRule.Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PrivacyRule |
PrivacyRule.of(Jid jid,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘jid’.
|
static PrivacyRule |
PrivacyRule.of(PrivacyRule.Action action,
long order)
Creates a privacy list item, which allows or blocks everything.
|
static PrivacyRule |
PrivacyRule.of(java.lang.String group,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘group’.
|
static PrivacyRule |
PrivacyRule.of(SubscriptionState.Subscription subscription,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘subscription’.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.