Enum Class ContentType

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

public enum ContentType extends 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, SOURCE_MAP
  • Enum Constant Details

    • 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
    • SOURCE_MAP

      public static final ContentType SOURCE_MAP
  • Method Details

    • values

      public static ContentType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ContentType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

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