java.lang.Object
java.lang.Enum<PropagateMode>
com.github.jamesnetherton.zulip.client.api.message.PropagateMode
All Implemented Interfaces:
Serializable, Comparable<PropagateMode>

public enum PropagateMode extends Enum<PropagateMode>
Defines the Zulip message edit propagation mode and determines which message(s) should be edited.
  • Enum Constant Details

    • CHANGE_ONE

      public static final PropagateMode CHANGE_ONE
      Changes the message specified by the provided message id.
    • CHANGE_LATER

      public static final PropagateMode CHANGE_LATER
      Changes messages in the topic that had been sent before the one specified.
    • CHANGE_ALL

      public static final PropagateMode CHANGE_ALL
      Changes all messages.
  • Method Details

    • values

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

      public static PropagateMode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

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