|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.coalevo.messaging.model.InteractiveMessageTypes
public class InteractiveMessageTypes
Provides all defined InteractiveMessageTypes.
| Field Summary | |
|---|---|
static InteractiveMessageType |
CHAT
Defines an InteractiveMessageType for a chat message. |
static InteractiveMessageType |
GROUPCHAT
Defines an InteractiveMessageType for a message in a
group chat. |
protected static java.util.Set<InteractiveMessageType> |
INTERACTIVEMESSAGE_TYPES
Set holding the defined InteractiveMessageType instances. |
static InteractiveMessageType |
NEWS
Defines an InteractiveMessageType for a message that is
giving some news. |
static InteractiveMessageType |
NOTIFICATION
Defines an InteractiveMessageType for a message
that is notifying the user of something. |
static InteractiveMessageType |
OFFLINE
Defines an InteractiveMessageType for an offline message. |
static InteractiveMessageType |
QUESTION
Defines an InteractiveMessageType for a message
that is a question from a user to a system guide. |
protected static InteractiveMessageType[] |
TYPES
Array holding the defined InteractiveMessageType instances. |
| Constructor Summary | |
|---|---|
InteractiveMessageTypes()
|
|
| Method Summary | |
|---|---|
static InteractiveMessageType |
get(java.lang.String identifier)
Returns a InteractiveMessageType instance for the given identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final InteractiveMessageType CHAT
InteractiveMessageType for a chat message.
The context of a InteractiveMessage of this type is
a thread or the sender/address.
public static final InteractiveMessageType GROUPCHAT
InteractiveMessageType for a message in a
group chat. The context of this message is the group.
public static final InteractiveMessageType NEWS
InteractiveMessageType for a message that is
giving some news. This message does not require a reply and
will likely be produced automatically by some service.
public static final InteractiveMessageType OFFLINE
InteractiveMessageType for an offline message.
The context of a InteractiveMessage of this type is
a thread or the sender/address, but the message may have been stored on
the server for a while.
public static final InteractiveMessageType NOTIFICATION
InteractiveMessageType for a message
that is notifying the user of something. This message will not
require a reply, and will likely be produced by some service of
the system.
public static final InteractiveMessageType QUESTION
InteractiveMessageType for a message
that is a question from a user to a system guide.
protected static final InteractiveMessageType[] TYPES
InteractiveMessageType instances.
protected static final java.util.Set<InteractiveMessageType> INTERACTIVEMESSAGE_TYPES
InteractiveMessageType instances.
| Constructor Detail |
|---|
public InteractiveMessageTypes()
| Method Detail |
|---|
public static final InteractiveMessageType get(java.lang.String identifier)
throws java.util.NoSuchElementException
InteractiveMessageType instance for the given identifier.
identifier - a string identifying a InteractiveMessageType.
InteractiveMessageType with the given identifier.
java.util.NoSuchElementException - if a InteractiveMessageType with
the given identifier does not exist.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||