public static enum EventDefinition.Kind extends Enum<EventDefinition.Kind>
| Modifier and Type | Method and Description |
|---|---|
static EventDefinition.Kind |
fromValue(String value) |
String |
toString() |
String |
value() |
static EventDefinition.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventDefinition.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventDefinition.Kind CONSUMED
public static final EventDefinition.Kind PRODUCED
public static EventDefinition.Kind[] values()
for (EventDefinition.Kind c : EventDefinition.Kind.values()) System.out.println(c);
public static EventDefinition.Kind 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 nullpublic String toString()
toString in class Enum<EventDefinition.Kind>public String value()
public static EventDefinition.Kind fromValue(String value)
Copyright © 2020–2023 CNCF. All rights reserved.