/** * Finishes the building of a conditional event definition. * * @param <T> * @return the parent event builder */ @SuppressWarnings({ "rawtypes", "unchecked" }) public <T extends AbstractFlowNodeBuilder> T conditionalEventDefinitionDone() { return (T) ((Event) element.getParentElement()).builder(); }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(String variableEvents) { element.setCamundaVariableEvents(variableEvents); return myself; }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(List<String> variableEvents) { element.setCamundaVariableEventsList(variableEvents); return myself; }
/** * Sets the camunda variable name attribute, that defines on * which variable the condition should be evaluated. * * @param variableName the variable on which the condition should be evaluated * @return the builder object */ public B camundaVariableName(String variableName) { element.setCamundaVariableName(variableName); return myself; }
public ConditionalEventDefinitionBuilder conditionalEventDefinition(String id) { ConditionalEventDefinition eventDefinition = createInstance(ConditionalEventDefinition.class); if (id != null) { eventDefinition.setId(id); } element.getEventDefinitions().add(eventDefinition); return new ConditionalEventDefinitionBuilder(modelInstance, eventDefinition); }
/** * Sets the condition of the conditional event definition. * * @param conditionText the condition which should be evaluate to true or false * @return the builder object */ public B condition(String conditionText) { Condition condition = createInstance(Condition.class); condition.setTextContent(conditionText); element.setCondition(condition); return myself; }
/** * Sets the camunda variable name attribute, that defines on * which variable the condition should be evaluated. * * @param variableName the variable on which the condition should be evaluated * @return the builder object */ public B camundaVariableName(String variableName) { element.setCamundaVariableName(variableName); return myself; }
public ConditionalEventDefinitionBuilder conditionalEventDefinition(String id) { ConditionalEventDefinition eventDefinition = createInstance(ConditionalEventDefinition.class); if (id != null) { eventDefinition.setId(id); } element.getEventDefinitions().add(eventDefinition); return new ConditionalEventDefinitionBuilder(modelInstance, eventDefinition); }
/** * Sets the condition of the conditional event definition. * * @param conditionText the condition which should be evaluate to true or false * @return the builder object */ public B condition(String conditionText) { Condition condition = createInstance(Condition.class); condition.setTextContent(conditionText); element.setCondition(condition); return myself; }
/** * Sets the camunda variable name attribute, that defines on * which variable the condition should be evaluated. * * @param variableName the variable on which the condition should be evaluated * @return the builder object */ public B camundaVariableName(String variableName) { element.setCamundaVariableName(variableName); return myself; }
/** * Finishes the building of a conditional event definition. * * @param <T> * @return the parent event builder */ @SuppressWarnings({ "rawtypes", "unchecked" }) public <T extends AbstractFlowNodeBuilder> T conditionalEventDefinitionDone() { return (T) ((Event) element.getParentElement()).builder(); }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(List<String> variableEvents) { element.setCamundaVariableEventsList(variableEvents); return myself; }
public ConditionalEventDefinitionBuilder conditionalEventDefinition(String id) { ConditionalEventDefinition eventDefinition = createInstance(ConditionalEventDefinition.class); if (id != null) { eventDefinition.setId(id); } element.getEventDefinitions().add(eventDefinition); return new ConditionalEventDefinitionBuilder(modelInstance, eventDefinition); }
/** * Sets the condition of the conditional event definition. * * @param conditionText the condition which should be evaluate to true or false * @return the builder object */ public B condition(String conditionText) { Condition condition = createInstance(Condition.class); condition.setTextContent(conditionText); element.setCondition(condition); return myself; }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(String variableEvents) { element.setCamundaVariableEvents(variableEvents); return myself; }
/** * Finishes the building of a conditional event definition. * * @param <T> * @return the parent event builder */ @SuppressWarnings({ "rawtypes", "unchecked" }) public <T extends AbstractFlowNodeBuilder> T conditionalEventDefinitionDone() { return (T) ((Event) element.getParentElement()).builder(); }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(List<String> variableEvents) { element.setCamundaVariableEventsList(variableEvents); return myself; }
/** * Set the camunda variable events attribute, that defines the variable * event on which the condition should be evaluated. * * @param variableEvents the events on which the condition should be evaluated * @return the builder object */ public B camundaVariableEvents(String variableEvents) { element.setCamundaVariableEvents(variableEvents); return myself; }