org.camunda.bpm.model.bpmn.builder
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected BaseElement parent
AbstractCamundaFormFieldBuilder
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance,
BaseElement parent,
CamundaFormField element,
Class<?> selfType)
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
Copyright © 2017 camunda services GmbH. All rights reserved.