public final class WithParameters extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
WithParameters(org.mule.extension.introspection.declaration.HasParameters owner,
DeclarationConstruct declaration) |
| Modifier and Type | Method and Description |
|---|---|
OptionalParameterConstruct |
optionalParameter(String name)
Adds an optional parameter
|
ParameterConstruct |
requiredParameter(String name)
Adds a required parameter
|
ConfigurationConstruct |
withConfig(String name)
Adds another config of the given name
|
OperationConstruct |
withOperation(String name)
Adds another operation of the given name
|
protected WithParameters(org.mule.extension.introspection.declaration.HasParameters owner,
DeclarationConstruct declaration)
public ParameterConstruct requiredParameter(String name)
name - the name of the parameterParameterConstructpublic OptionalParameterConstruct optionalParameter(String name)
name - the name of the parameterOptionalParameterConstructpublic ConfigurationConstruct withConfig(String name)
name - the name of the configConfigurationConstructpublic OperationConstruct withOperation(String name)
name - the name of the configOperationConstructCopyright © 2015 MuleSoft, Inc.. All rights reserved.