Search in sources :

Example 1 with DefaultStartFormHandler

use of org.activiti.engine.impl.form.DefaultStartFormHandler in project Activiti by Activiti.

the class StartEventParseHandler method createStartFormHandlers.

protected void createStartFormHandlers(BpmnParse bpmnParse, StartEvent startEvent, ProcessDefinitionEntity processDefinition) {
    if (processDefinition.getInitial() != null) {
        if (startEvent.getId().equals(processDefinition.getInitial().getId())) {
            StartFormHandler startFormHandler = new DefaultStartFormHandler();
            startFormHandler.parseConfiguration(startEvent.getFormProperties(), startEvent.getFormKey(), bpmnParse.getDeployment(), processDefinition);
            processDefinition.setStartFormHandler(startFormHandler);
        }
    }
}
Also used : StartFormHandler(org.activiti.engine.impl.form.StartFormHandler) DefaultStartFormHandler(org.activiti.engine.impl.form.DefaultStartFormHandler) DefaultStartFormHandler(org.activiti.engine.impl.form.DefaultStartFormHandler)

Aggregations

DefaultStartFormHandler (org.activiti.engine.impl.form.DefaultStartFormHandler)1 StartFormHandler (org.activiti.engine.impl.form.StartFormHandler)1