com.mirth.connect.userutil
Enum ContentType

java.lang.Object
  extended by java.lang.Enum<ContentType>
      extended by com.mirth.connect.userutil.ContentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentType>

public enum ContentType
extends java.lang.Enum<ContentType>

Denotes various types of content created by a channel. Available types are: RAW, PROCESSED_RAW, TRANSFORMED, ENCODED, SENT, RESPONSE, RESPONSE_TRANSFORMED, PROCESSED_RESPONSE, CONNECTOR_MAP, CHANNEL_MAP, RESPONSE_MAP, PROCESSING_ERROR, POSTPROCESSOR_ERROR, RESPONSE_ERROR


Enum Constant Summary
CHANNEL_MAP
           
CONNECTOR_MAP
           
ENCODED
           
POSTPROCESSOR_ERROR
           
PROCESSED_RAW
           
PROCESSED_RESPONSE
           
PROCESSING_ERROR
           
RAW
           
RESPONSE
           
RESPONSE_ERROR
           
RESPONSE_MAP
           
RESPONSE_TRANSFORMED
           
SENT
           
TRANSFORMED
           
 
Method Summary
 java.lang.String toString()
           
static ContentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RAW

public static final ContentType RAW

PROCESSED_RAW

public static final ContentType PROCESSED_RAW

TRANSFORMED

public static final ContentType TRANSFORMED

ENCODED

public static final ContentType ENCODED

SENT

public static final ContentType SENT

RESPONSE

public static final ContentType RESPONSE

RESPONSE_TRANSFORMED

public static final ContentType RESPONSE_TRANSFORMED

PROCESSED_RESPONSE

public static final ContentType PROCESSED_RESPONSE

CONNECTOR_MAP

public static final ContentType CONNECTOR_MAP

CHANNEL_MAP

public static final ContentType CHANNEL_MAP

RESPONSE_MAP

public static final ContentType RESPONSE_MAP

PROCESSING_ERROR

public static final ContentType PROCESSING_ERROR

POSTPROCESSOR_ERROR

public static final ContentType POSTPROCESSOR_ERROR

RESPONSE_ERROR

public static final ContentType RESPONSE_ERROR
Method Detail

values

public static ContentType[] 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 (ContentType c : ContentType.values())
    System.out.println(c);

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

valueOf

public static ContentType 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
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ContentType>