Enum Class MessageExpect

java.lang.Object
java.lang.Enum<MessageExpect>
com.axelor.meta.schema.workflows.MessageExpect
All Implemented Interfaces:
Serializable, Comparable<MessageExpect>, Constable

public enum MessageExpect extends Enum<MessageExpect>
How many subscribers a <send> expects. ANY is the default, since several runs waiting on one record is ordinary; ONE reports, on the outbox row, when it was not met. It cannot prevent it, as delivery has already happened.
  • Enum Constant Details

    • ANY

      public static final MessageExpect ANY
      However many are listening, including none.
    • ONE

      public static final MessageExpect ONE
      Exactly one, and the row says so when it was not.
  • Method Details

    • values

      public static MessageExpect[] 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 MessageExpect 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
    • stored

      public String stored()
      As the outbox stores it, which is the token an author writes.