Enum OperationAction

java.lang.Object
java.lang.Enum<OperationAction>
com.asyncapi.v3._0_0.model.operation.OperationAction
All Implemented Interfaces:
Serializable, Comparable<OperationAction>, java.lang.constant.Constable

public enum OperationAction extends Enum<OperationAction>
Describes a specific operation action.
Version:
3.0.0
Author:
Pavel Bodiachevskii
See Also:
  • Enum Constant Details

    • SEND

      public static final OperationAction SEND
      Use send when it's expected that the application will send a message to the given Channel.
    • RECEIVE

      public static final OperationAction RECEIVE
      Use receive when the application should expect receiving messages from the given Channel.
  • Method Details

    • values

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