public static enum VariableDef.Kind extends Enum<VariableDef.Kind>
Enum Constant and Description |
---|
CONNECTOR_VAR
Variable defined in the connector level.
|
CONSTANT
Constant.
|
GLOBAL_VAR
Global variable.
|
LOCAL_VAR
Local variable in a function/action/resource.
|
SERVICE_VAR
Variable defined in the service level.
|
STRUCT_FIELD
Struct field.
|
Modifier and Type | Method and Description |
---|---|
static VariableDef.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableDef.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableDef.Kind LOCAL_VAR
public static final VariableDef.Kind CONSTANT
public static final VariableDef.Kind GLOBAL_VAR
public static final VariableDef.Kind SERVICE_VAR
public static final VariableDef.Kind CONNECTOR_VAR
public static final VariableDef.Kind STRUCT_FIELD
public static VariableDef.Kind[] values()
for (VariableDef.Kind c : VariableDef.Kind.values()) System.out.println(c);
public static VariableDef.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 nullCopyright © 2018 WSO2. All rights reserved.