public class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>> extends AbstractBpmnModelElementBuilder<B,CamundaFormField>
Modifier and Type | Field and Description |
---|---|
protected BaseElement |
parent |
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance,
BaseElement parent,
CamundaFormField element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
camundaDefaultValue(String defaultValue)
Sets the form field default value.
|
P |
camundaFormFieldDone()
Finishes the building of a form field.
|
B |
camundaId(String id)
Sets the form field id.
|
B |
camundaLabel(String label)
Sets form field label.
|
B |
camundaType(String type)
Sets the form field type.
|
done, getElement, subProcessDone, transactionDone
protected BaseElement parent
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType)
public B camundaId(String id)
id
- the form field idpublic B camundaLabel(String label)
label
- the form field labelpublic B camundaType(String type)
type
- the form field typepublic B camundaDefaultValue(String defaultValue)
defaultValue
- the form field default valuepublic P camundaFormFieldDone()
Copyright © 2017. All rights reserved.