public class ParameterRole extends UnknownType
ParameterModel.| Constructor and Description |
|---|
ParameterRole(String value) |
| Modifier and Type | Method and Description |
|---|---|
static ParameterRole |
behaviourParameterRole(String value) |
static ParameterRole |
contentParameterRole(String value) |
boolean |
isBehaviour() |
boolean |
isContent() |
boolean |
isPrimaryContent() |
static ParameterRole |
primaryContentParameterRole(String value) |
public ParameterRole(String value)
public static ParameterRole behaviourParameterRole(String value)
public static ParameterRole contentParameterRole(String value)
public static ParameterRole primaryContentParameterRole(String value)
public boolean isBehaviour()
true, indicates that the parameter is only configuring the component's behaviour and doesn't represent
data that is being sent to another endpointpublic boolean isContent()
true, indicates that this parameter holds information to be considered content to be sent to a different
system or endpoint. It makes sense to use this when the operation has many content parameters but this one is not the
isPrimaryContent()public boolean isPrimaryContent()
true, indicates that this parameter holds the main piece of content to be sent to another system or
endpoint. This differentiation becomes specially important when the component has many content parameters.
If the component only has one content parameter, then this role will be used to mark such parameterCopyright © 2023 MuleSoft, Inc.. All rights reserved.