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 |
getDeclaration
public D withProperty(String name, Serializable value)
this
element declarationname
- the name
of the property
value
- the value
of the property
this
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 ParameterElementDeclaration
value
- the value
of the ParameterElementDeclaration
to associate to this
element declarationthis
declarerCopyright © 2018. All rights reserved.