public enum ParameterRole extends Enum<ParameterRole>
ParameterizedModel
Enum Constant and Description |
---|
BEHAVIOUR
Indicates that the parameter is only configuring the component's behaviour and doesn't represent
data that is being sent to another endpoint
|
CONTENT
Indicates that this parameter holds information to be considered content to be sent to a different
system or endpoint.
|
PRIMARY_CONTENT
Indicates that this parameter holds the main piece of content to be sent to another system or endpoint.
|
Modifier and Type | Method and Description |
---|---|
static ParameterRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterRole BEHAVIOUR
public static final ParameterRole CONTENT
PRIMARY_CONTENT
public static final ParameterRole PRIMARY_CONTENT
public static ParameterRole[] values()
for (ParameterRole c : ParameterRole.values()) System.out.println(c);
public static ParameterRole 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. All rights reserved.