public enum Shape extends Enum<Shape>
Enum Constant and Description |
---|
PROCESSOR |
PUBLISHER |
STREAM_TRANSFORMER |
SUBSCRIBER |
Modifier and Type | Method and Description |
---|---|
static Shape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shape PUBLISHER
public static final Shape SUBSCRIBER
public static final Shape PROCESSOR
public static final Shape STREAM_TRANSFORMER
public static Shape[] values()
for (Shape c : Shape.values()) System.out.println(c);
public static Shape valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018–2021 SmallRye. All rights reserved.