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
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Map containing channel-specific variables and data.
    Map containing connector-specific variables and data.
    The message data deserialized from transformed data into the outbound data type.
    Content containing error information from postprocessor execution.
    The inbound message after preprocessor script execution.
    The response content deserialized from internal representation into the response outbound data type.
    Content containing error information from message processing.
    The inbound message as received by the channel after attachment extraction but before preprocessor modification.
    The response object returned by the destination connector after dispatch attempt.
    Content containing error information from response processing.
    Map containing response-specific variables and data.
    The internal representation of response content serialized into the response inbound data type.
    Snapshot of destination connector properties before message dispatch attempt.
    Map containing source connector variables and data.
    The internal representation of the message after transformer execution.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this class with the specified name.
    static ContentType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RAW

      public static final ContentType RAW
      The inbound message as received by the channel after attachment extraction but before preprocessor modification.
    • PROCESSED_RAW

      public static final ContentType PROCESSED_RAW
      The inbound message after preprocessor script execution.
    • TRANSFORMED

      public static final ContentType TRANSFORMED
      The internal representation of the message after transformer execution.
    • ENCODED

      public static final ContentType ENCODED
      The message data deserialized from transformed data into the outbound data type.
    • SENT

      public static final ContentType SENT
      Snapshot of destination connector properties before message dispatch attempt.
    • RESPONSE

      public static final ContentType RESPONSE
      The response object returned by the destination connector after dispatch attempt.
    • RESPONSE_TRANSFORMED

      public static final ContentType RESPONSE_TRANSFORMED
      The internal representation of response content serialized into the response inbound data type.
    • PROCESSED_RESPONSE

      public static final ContentType PROCESSED_RESPONSE
      The response content deserialized from internal representation into the response outbound data type.
    • CONNECTOR_MAP

      public static final ContentType CONNECTOR_MAP
      Map containing connector-specific variables and data.
    • CHANNEL_MAP

      public static final ContentType CHANNEL_MAP
      Map containing channel-specific variables and data.
    • RESPONSE_MAP

      public static final ContentType RESPONSE_MAP
      Map containing response-specific variables and data.
    • PROCESSING_ERROR

      public static final ContentType PROCESSING_ERROR
      Content containing error information from message processing.
    • POSTPROCESSOR_ERROR

      public static final ContentType POSTPROCESSOR_ERROR
      Content containing error information from postprocessor execution.
    • RESPONSE_ERROR

      public static final ContentType RESPONSE_ERROR
      Content containing error information from response processing.
    • SOURCE_MAP

      public static final ContentType SOURCE_MAP
      Map containing source connector variables and data.
  • 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>