public abstract class EnrichableElementDeclarer<D extends EnrichableElementDeclarer,T extends EnrichableElementDeclaration> extends BaseElementDeclarer<T>
EnrichableElementDeclaration through a fluent APIdeclaration| Modifier and Type | Method and Description |
|---|---|
D |
withCustomParameter(String name,
String value)
Adds a
custom parameter to this enrichable element declaration
This customParameter represents an additional parameter to the ones exposed by the actual model
associated to this element. |
D |
withProperty(String name,
Serializable value)
Adds a metadata property to
this element declaration |
getDeclarationpublic D withProperty(String name, Serializable value)
this element declarationname - the name of the propertyvalue - the value of the propertythis declarerpublic D withCustomParameter(String name, String value)
custom parameter to this enrichable element declaration
This customParameter represents an additional parameter to the ones exposed by the actual model
associated to this element.
No validation of any kind will be performed over this customParameter and its value.name - the name of the ParameterElementDeclarationvalue - the value of the ParameterElementDeclaration to associate to this element declarationthis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.