Package org.activiti.bpmn.model

Examples of org.activiti.bpmn.model.TerminateEventDefinition


  }
 
  public void parseChildElement(XMLStreamReader xtr, BaseElement parentElement, BpmnModel model) throws Exception {
    if (parentElement instanceof EndEvent == false) return;
   
    TerminateEventDefinition eventDefinition = new TerminateEventDefinition();
    BpmnXMLUtil.addXMLLocation(eventDefinition, xtr);
   
    BpmnXMLUtil.parseChildElements(ELEMENT_EVENT_TERMINATEDEFINITION, eventDefinition, xtr, model);
   
    ((Event) parentElement).getEventDefinitions().add(eventDefinition);
View Full Code Here


    super(fp, "TerminateEndEvent", "Add terminate end event");
  }

  public Object[] create(ICreateContext context) {
    EndEvent endEvent = new EndEvent();
    TerminateEventDefinition eventDef = new TerminateEventDefinition();
    endEvent.getEventDefinitions().add(eventDef);
    addObjectToContainer(context, endEvent, "TerminateEndEvent");

    // return newly created business object(s)
    return new Object[] { endEvent };
View Full Code Here

TOP

Related Classes of org.activiti.bpmn.model.TerminateEventDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.