Class AMPExtension.Rule
java.lang.Object
org.jivesoftware.smackx.amp.packet.AMPExtension.Rule
- Enclosing class:
- AMPExtension
XEP-0079 Rule element. Defines AMP Rule parameters. Can be added to AMPExtension.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRule
(AMPExtension.Action action, AMPExtension.Condition condition) Create a new amp rule with specified action and condition. -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
ELEMENT
- See Also:
-
-
Constructor Details
-
Rule
Create a new amp rule with specified action and condition. Value will be taken from condition argument- Parameters:
action
- action for this rulecondition
- condition for this rule
-
-
Method Details
-
getAction
-
getCondition
-