Package | Description |
---|---|
rocks.xmpp.extensions.amp.model |
Provides XML schema implementations of XEP-0079: Advanced Message Processing.
|
Modifier and Type | Method and 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(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static Rule |
Rule.deliver(Rule.Action action,
Rule.DeliveryMode value)
Creates the defined “deliver” rule.
|
static Rule |
Rule.expireAt(Rule.Action action,
java.time.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,
java.lang.String value)
Creates a rule.
|
Constructor and Description |
---|
AdvancedMessageProcessing(java.util.List<Rule> rules,
Rule.Action status,
Jid from,
Jid to)
Constructs an
<amp/> element with rules, status, from and to attribute. |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.