Enum Shape

java.lang.Object
java.lang.Enum<Shape>
io.smallrye.reactive.messaging.Shape
All Implemented Interfaces:
Serializable, Comparable<Shape>

public enum Shape extends Enum<Shape>
  • Enum Constant Details

    • PUBLISHER

      public static final Shape PUBLISHER
    • SUBSCRIBER

      public static final Shape SUBSCRIBER
    • PROCESSOR

      public static final Shape PROCESSOR
    • STREAM_TRANSFORMER

      public static final Shape STREAM_TRANSFORMER
  • Method Details

    • values

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