public final class WithParameters extends Object
ParameterDeclaration to
a owner that belongs to a DeclarationDescriptor| Modifier | Constructor and Description |
|---|---|
protected |
WithParameters(org.mule.extension.introspection.declaration.fluent.HasParameters owner,
DeclarationDescriptor declaration) |
| Modifier and Type | Method and Description |
|---|---|
OptionalParameterDescriptor |
optionalParameter(String name)
Adds an optional parameter
|
ParameterDescriptor |
requiredParameter(String name)
Adds a required parameter
|
ConfigurationDescriptor |
withConfig(String name)
Adds another config of the given name
|
OperationDescriptor |
withOperation(String name)
Adds another operation of the given name
|
protected WithParameters(org.mule.extension.introspection.declaration.fluent.HasParameters owner,
DeclarationDescriptor declaration)
public ParameterDescriptor requiredParameter(String name)
name - the name of the parameterParameterDescriptorpublic OptionalParameterDescriptor optionalParameter(String name)
name - the name of the parameterOptionalParameterDescriptorpublic ConfigurationDescriptor withConfig(String name)
name - the name of the configConfigurationDescriptorpublic OperationDescriptor withOperation(String name)
name - the name of the configOperationDescriptorCopyright © 2015 MuleSoft, Inc.. All rights reserved.