Enum Class Direcao

java.lang.Object
java.lang.Enum<Direcao>
br.com.xadm.comum.mensageria.Direcao
All Implemented Interfaces:
Serializable, Comparable<Direcao>, Constable

public enum Direcao extends Enum<Direcao>
Direção da mensagem M2M. SAIDA é o outbox real (o remetente é dono do retry); ENTRADA é só auditoria simétrica no receptor (nunca reenvia).
  • Enum Constant Details

    • SAIDA

      public static final Direcao SAIDA
      Mensagem que este app enviou (ou vai enviar): participa do relay/retry.
    • ENTRADA

      public static final Direcao ENTRADA
      Mensagem que este app recebeu: log de auditoria, sem retry.
  • Method Details

    • values

      public static Direcao[] 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 Direcao 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