Enum Class CardActionEnum

java.lang.Object
java.lang.Enum<CardActionEnum>
org.opfab.cards.model.CardActionEnum
All Implemented Interfaces:
Serializable, Comparable<CardActionEnum>, Constable

public enum CardActionEnum extends Enum<CardActionEnum>
Defines the actions to be done when card is received
PROPAGATE_READ_ACK_TO_PARENT_CARD
KEEP_CHILD_CARDS
KEEP_EXISTING_ACKS_AND_READS
KEEP_EXISTING_PUBLISH_DATE
STORE_ONLY_IN_ARCHIVES
NOT_NOTIFIED
Note : This enum is created by hand because Swagger can't handle enums. It should match the corresponding enum definition in the Cards API.
  • Enum Constant Details

    • PROPAGATE_READ_ACK_TO_PARENT_CARD

      public static final CardActionEnum PROPAGATE_READ_ACK_TO_PARENT_CARD
    • KEEP_CHILD_CARDS

      public static final CardActionEnum KEEP_CHILD_CARDS
    • KEEP_EXISTING_ACKS_AND_READS

      public static final CardActionEnum KEEP_EXISTING_ACKS_AND_READS
    • KEEP_EXISTING_PUBLISH_DATE

      public static final CardActionEnum KEEP_EXISTING_PUBLISH_DATE
    • STORE_ONLY_IN_ARCHIVES

      public static final CardActionEnum STORE_ONLY_IN_ARCHIVES
    • NOT_NOTIFIED

      public static final CardActionEnum NOT_NOTIFIED
  • Method Details

    • values

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