Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.common.modules.conversation.enums
Enum XConversationState

java.lang.Object
  extended by java.lang.Enum<XConversationState>
      extended by waggle.common.modules.conversation.enums.XConversationState

All Implemented Interfaces:
Serializable, Comparable<XConversationState>

public enum XConversationState
extends Enum<XConversationState>

Conversation State.


Enum Constant Summary
CLOSED_CHAINED
          Conversation has been closed and chained.
CLOSED_DROPPED
          Conversation has been closed and dropped.
CLOSED_RESOLVED
          Conversation has been closed and resolved.
OPEN_ACTIVE
          Conversation is open and active.
OPEN_PENDING
          Conversation is open but pending resolution of an issue.

 

Method Summary
 boolean isClosed()
          Detect if a state is considered a closed state.
 boolean isOpen()
          Detect if a state is considered an open state.
static XConversationState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XConversationState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

OPEN_ACTIVE

public static final XConversationState OPEN_ACTIVE
Conversation is open and active.

OPEN_PENDING

public static final XConversationState OPEN_PENDING
Conversation is open but pending resolution of an issue.

CLOSED_RESOLVED

public static final XConversationState CLOSED_RESOLVED
Conversation has been closed and resolved.

CLOSED_DROPPED

public static final XConversationState CLOSED_DROPPED
Conversation has been closed and dropped.

CLOSED_CHAINED

public static final XConversationState CLOSED_CHAINED
Conversation has been closed and chained.

Method Detail

values

public static XConversationState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XConversationState c : XConversationState.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XConversationState valueOf(String name)
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 name
NullPointerException - if the argument is null

isOpen

public boolean isOpen()
Detect if a state is considered an open state.
Returns:
Returns true for states that are considered open states.

isClosed

public boolean isClosed()
Detect if a state is considered a closed state.
Returns:
Returns true for states that are considered closed states.

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.