public final class ParameterGroupElementDeclarer extends EnrichableElementDeclarer<ParameterGroupElementDeclarer,ParameterGroupElementDeclaration> implements ParameterizedBuilder<String,ParameterValue,ParameterGroupElementDeclarer>
ParameterizedElementDeclaration
through a fluent APIdeclaration
Constructor and Description |
---|
ParameterGroupElementDeclarer(ParameterGroupElementDeclaration declaration) |
Modifier and Type | Method and Description |
---|---|
ParameterGroupElementDeclarer |
withName(String name)
Set's the name of the element
|
ParameterGroupElementDeclarer |
withParameter(String name,
ParameterValue value)
Adds a
parameter to this parametrized element declaration |
ParameterGroupElementDeclarer |
withParameter(String name,
ParameterValue value,
Map<String,Serializable> properties)
Adds a
parameter to this parametrized element declaration |
ParameterGroupElementDeclarer |
withParameter(String name,
String value)
Adds a
parameter to this parametrized element declaration |
withCustomParameter, withProperty
getDeclaration
public ParameterGroupElementDeclarer(ParameterGroupElementDeclaration declaration)
public ParameterGroupElementDeclarer withName(String name)
name
- the name of the elementthis
declarerpublic ParameterGroupElementDeclarer withParameter(String name, String value)
parameter
to this
parametrized element declarationname
- the name
of the ParameterElementDeclaration
value
- the value
of the ParameterElementDeclaration
to associate to this
element declarationthis
declarerpublic ParameterGroupElementDeclarer withParameter(String name, ParameterValue value)
parameter
to this
parametrized element declarationwithParameter
in interface ParameterizedBuilder<String,ParameterValue,ParameterGroupElementDeclarer>
name
- the name
of the ParameterElementDeclaration
value
- the ParameterValue
of the ParameterElementDeclaration
to associate to this
element declarationthis
declarerpublic ParameterGroupElementDeclarer withParameter(String name, ParameterValue value, Map<String,Serializable> properties)
parameter
to this
parametrized element declarationname
- the name
of the ParameterElementDeclaration
value
- the ParameterValue
of the ParameterElementDeclaration
to associate to this
element declarationthis
declarerCopyright © 2018. All rights reserved.