Enum PropagateMode
- All Implemented Interfaces:
Serializable
,Comparable<PropagateMode>
Defines the Zulip message edit propagation mode and determines which message(s) should be edited.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChanges all messages.Changes messages in the topic that had been sent before the one specified.Changes the message specified by the provided message id. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static PropagateMode
Returns the enum constant of this type with the specified name.static PropagateMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHANGE_ONE
Changes the message specified by the provided message id. -
CHANGE_LATER
Changes messages in the topic that had been sent before the one specified. -
CHANGE_ALL
Changes all messages.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<PropagateMode>
-