Package org.jivesoftware.smackx.pubsub
Enum SubscribeOptionFields
- All Implemented Interfaces:
Serializable
,Comparable<SubscribeOptionFields>
Defines the possible field options for a subscribe options form as defined
by Section 16.4.2.
-
Enum Constant Summary
Enum ConstantDescriptionWhether an entity wants to receive or disable notifications.Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually.The minimum number of seconds between sending any two notifications digests.Expire.Whether an entity wants to receive an XMPP message body in addition to the payload format.The presence states for which an entity wants to receive notifications.Subscription depth.Subscription type. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscribeOptionFields
Returns the enum constant of this type with the specified name.static SubscribeOptionFields
valueOfFromElement
(String elementName) static SubscribeOptionFields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
deliver
Whether an entity wants to receive or disable notifications.Value: boolean
-
digest
Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually.Value: boolean
-
digest_frequency
The minimum number of seconds between sending any two notifications digests.Value: int
-
expire
Expire.Value:
Calendar
-
include_body
Whether an entity wants to receive an XMPP message body in addition to the payload format.Value: boolean
-
show_values
The presence states for which an entity wants to receive notifications.Value:
PresenceState
-
subscription_type
Subscription type.Value:
-
subscription_depth
Subscription depth.Value:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFieldName
-
valueOfFromElement
-