Uses of Class
rocks.xmpp.extensions.privacy.model.PrivacyRule.Action
-
Packages that use PrivacyRule.Action Package Description rocks.xmpp.extensions.privacy.model Provides XML schema implementations of XEP-0016: Privacy Lists. -
-
Uses of PrivacyRule.Action in rocks.xmpp.extensions.privacy.model
Methods in rocks.xmpp.extensions.privacy.model that return PrivacyRule.Action Modifier and Type Method Description PrivacyRule.Action
PrivacyRule. getAction()
Sets the action to perform (either allow or deny).static PrivacyRule.Action
PrivacyRule.Action. valueOf(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.Methods in rocks.xmpp.extensions.privacy.model with parameters of type PrivacyRule.Action Modifier and Type Method Description static PrivacyRule
PrivacyRule. of(String group, PrivacyRule.Action action, long order)
Creates a privacy rule of type 'group'.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(SubscriptionState.Subscription subscription, PrivacyRule.Action action, long order)
Creates a privacy rule of type 'subscription'.
-