Class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,CamundaFormField>
-
- org.camunda.bpm.model.bpmn.builder.AbstractCamundaFormFieldBuilder<P,B>
-
- Direct Known Subclasses:
CamundaStartEventFormFieldBuilder
,CamundaUserTaskFormFieldBuilder
public class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>> extends AbstractBpmnModelElementBuilder<B,CamundaFormField>
- Author:
- Kristin Polenz
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseElement
parent
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Field Detail
-
parent
protected BaseElement parent
-
-
Constructor Detail
-
AbstractCamundaFormFieldBuilder
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType)
-
-
Method Detail
-
camundaId
public B camundaId(String id)
Sets the form field id.- Parameters:
id
- the form field id- Returns:
- the builder object
-
camundaLabel
public B camundaLabel(String label)
Sets form field label.- Parameters:
label
- the form field label- Returns:
- the builder object
-
camundaType
public B camundaType(String type)
Sets the form field type.- Parameters:
type
- the form field type- Returns:
- the builder object
-
camundaDefaultValue
public B camundaDefaultValue(String defaultValue)
Sets the form field default value.- Parameters:
defaultValue
- the form field default value- Returns:
- the builder object
-
camundaFormFieldDone
public P camundaFormFieldDone()
Finishes the building of a form field.- Returns:
- the parent activity builder
-
-