use of org.camunda.bpm.model.bpmn.instance.camunda.CamundaOutputParameter in project camunda-bpmn-model by camunda.
the class AbstractEventBuilder method camundaOutputParameter.
/**
* Creates a new camunda output parameter extension element with the
* given name and value.
*
* @param name the name of the output parameter
* @param value the value of the output parameter
* @return the builder object
*/
public B camundaOutputParameter(String name, String value) {
CamundaInputOutput camundaInputOutput = getCreateSingleExtensionElement(CamundaInputOutput.class);
CamundaOutputParameter camundaOutputParameter = createChild(camundaInputOutput, CamundaOutputParameter.class);
camundaOutputParameter.setCamundaName(name);
camundaOutputParameter.setTextContent(value);
return myself;
}
Aggregations