Class MessageParameters

java.lang.Object
com.mirth.connect.userutil.MessageParameters

public class MessageParameters extends Object
  • Constructor Details

  • Method Details

    • get

      @Deprecated public String get(String key)
      Deprecated.
      This method is deprecated and will soon be removed. Please use getParameter(key) or getParameterList(key) instead.
      Get the first parameter value for the given key.
      Parameters:
      key - The name of the parameter key.
      Returns:
      The associated value or null if no value exists.
    • getParameter

      public String getParameter(String key)
      Get the first parameter value for the given key.
      Parameters:
      key - The name of the parameter key.
      Returns:
      The associated value or null if no value exists.
    • getParameterList

      public List<String> getParameterList(String key)
      Get all parameter values for the given key.
      Parameters:
      key - The name of parameter key.
      Returns:
      A list of all parameter values for the given key or null if no values exist.
    • getKeys

      public Set<String> getKeys()
      Get all parameter keys.
      Returns:
      A set of all parameter keys.
    • contains

      public boolean contains(String key)
      Check if parameters exist for a given key.
      Parameters:
      key - The name of the parameter key.
      Returns:
      true if parameters exist for the given key, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object