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