Enum Class TemplateMessage

java.lang.Object
java.lang.Enum<TemplateMessage>
com.totvs.tjf.communication.sdk.messages.TemplateMessage
All Implemented Interfaces:
Serializable, Comparable<TemplateMessage>, Constable

public enum TemplateMessage extends Enum<TemplateMessage>
  • Enum Constant Details

    • NO_TEMPLATE

      public static final TemplateMessage NO_TEMPLATE
    • NEW_MESSAGE

      public static final TemplateMessage NEW_MESSAGE
      For individual messages.
    • REPLY

      public static final TemplateMessage REPLY
      For mentioned people on histories.
    • REPLY_WITH_SENDER_NAME

      public static final TemplateMessage REPLY_WITH_SENDER_NAME
      For mentioned people on histories (with sender name).
    • HISTORY_UPDATED

      public static final TemplateMessage HISTORY_UPDATED
      For history's watchers.
    • HISTORY_UPDATED_WITH_SENDER_NAME

      public static final TemplateMessage HISTORY_UPDATED_WITH_SENDER_NAME
      For history's watchers (with sender name).
  • Method Details

    • values

      public static TemplateMessage[] 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 TemplateMessage 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
    • getMessage

      public String getMessage(Object... params)
    • getGenericName

      public static String getGenericName()