org.speakright.core.render
Enum PromptType

java.lang.Object
  extended by java.lang.Enum<PromptType>
      extended by org.speakright.core.render.PromptType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PromptType>

public enum PromptType
extends java.lang.Enum<PromptType>
implements java.io.Serializable

Type that includes the role (MAIN, SILENCE, NORECO) and the escalation count.

Author:
IanRaeLaptop

Nested Class Summary
static class PromptType.Family
           
 
Enum Constant Summary
MAIN1
           
MAIN2
           
MAIN3
           
MAIN4
           
NORECO1
           
NORECO2
           
NORECO3
           
NORECO4
           
SILENCE1
           
SILENCE2
           
SILENCE3
           
SILENCE4
           
 
Method Summary
static PromptType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PromptType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAIN1

public static final PromptType MAIN1

MAIN2

public static final PromptType MAIN2

MAIN3

public static final PromptType MAIN3

MAIN4

public static final PromptType MAIN4

SILENCE1

public static final PromptType SILENCE1

SILENCE2

public static final PromptType SILENCE2

SILENCE3

public static final PromptType SILENCE3

SILENCE4

public static final PromptType SILENCE4

NORECO1

public static final PromptType NORECO1

NORECO2

public static final PromptType NORECO2

NORECO3

public static final PromptType NORECO3

NORECO4

public static final PromptType NORECO4
Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PromptType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name