Uses of Class
rocks.xmpp.extensions.amp.model.Rule.Action
-
Packages that use Rule.Action Package Description rocks.xmpp.extensions.amp.model Provides XML schema implementations of XEP-0079: Advanced Message Processing. -
-
Uses of Rule.Action in rocks.xmpp.extensions.amp.model
Methods in rocks.xmpp.extensions.amp.model that return Rule.Action Modifier and Type Method Description Rule.Action
Rule. getAction()
The 'action' attribute defines the result for this rule.Rule.Action
AdvancedMessageProcessing. getStatus()
The 'status' attribute specifies the reason for this<amp/>
element.static Rule.Action
Rule.Action. valueOf(String name)
Returns the enum constant of this type with the specified name.static Rule.Action[]
Rule.Action. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in rocks.xmpp.extensions.amp.model with parameters of type Rule.Action Modifier and Type Method Description static Rule
Rule. deliver(Rule.Action action, Rule.DeliveryMode value)
Creates the defined "deliver" rule.static Rule
Rule. expireAt(Rule.Action action, Instant instant)
Creates the defined "expire-at" rule.static Rule
Rule. matchResource(Rule.Action action, Rule.MatchResource value)
Creates the defined "match-resource" rule.static Rule
Rule. of(Rule.Action action, Rule.Condition condition, String value)
Creates a rule.Constructors in rocks.xmpp.extensions.amp.model with parameters of type Rule.Action Constructor Description AdvancedMessageProcessing(List<Rule> rules, Rule.Action status, Jid from, Jid to)
Constructs an<amp/>
element with rules, status, from and to attribute.
-