|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.jpdl.xml.JpdlXmlReader
org.jbpm.sim.jpdl.SimulationJpdlXmlReader
public class SimulationJpdlXmlReader
The SimulationJpdXmlReader is used instead of the original
org.jbpm.jpdl.xml.JpdlXmlReader
from jBPM when using jBPM as simulation engine.
This reader instruments the process with additional things needed for simulation
| Field Summary |
|---|
| Fields inherited from class org.jbpm.jpdl.xml.JpdlXmlReader |
|---|
document, initialNodeName, inputSource, problemListener, problems, processDefinition, unresolvedActionReferences, unresolvedTransitionDestinations |
| Constructor Summary | |
|---|---|
SimulationJpdlXmlReader(org.xml.sax.InputSource inputSource)
|
|
SimulationJpdlXmlReader(org.xml.sax.InputSource inputSource,
org.jbpm.jpdl.xml.ProblemListener problemListener)
|
|
SimulationJpdlXmlReader(java.io.Reader reader)
|
|
SimulationJpdlXmlReader(java.lang.String processXml)
|
|
| Method Summary | |
|---|---|
void |
instrument()
during instrumentation, you can: 1) extract extra simulation information from the process xml and store it in the simulation definition 2) add event listeners to the process elements in processDefinition 3) modify the whole processDefinition as you want |
void |
readNode(org.dom4j.Element nodeElement,
org.jbpm.graph.def.Node node,
org.jbpm.graph.def.NodeCollection nodeCollection)
|
org.jbpm.graph.def.ProcessDefinition |
readProcessDefinition()
|
org.jbpm.taskmgmt.def.Task |
readTask(org.dom4j.Element taskElement,
org.jbpm.taskmgmt.def.TaskMgmtDefinition taskMgmtDefinition,
org.jbpm.graph.node.TaskNode taskNode)
|
org.jbpm.graph.def.Transition |
resolveTransitionDestination(org.dom4j.Element transitionElement,
org.jbpm.graph.def.Node node)
|
| Methods inherited from class org.jbpm.jpdl.xml.JpdlXmlReader |
|---|
addAction, addError, addError, addProblem, addUnresolvedActionReference, addUnresolvedTransitionDestination, addWarning, close, createAction, createMailDelegation, getProcessDefinition, getProperty, parseProcessDefinitionAttributes, readAction, readActions, readAssignmentDelegation, readEvents, readExceptionHandler, readExceptionHandlers, readNodes, readNodeTimer, readNodeTimers, readSingleAction, readStartStateTask, readSwimlanes, readTaskController, readTasks, readTaskTimer, readTaskTimers, readVariableAccesses, resolveActionReferences, resolveTransitionDestinations, resolveTransitionDestinations, verifySwimlaneAssignments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimulationJpdlXmlReader(java.lang.String processXml)
public SimulationJpdlXmlReader(org.xml.sax.InputSource inputSource)
public SimulationJpdlXmlReader(java.io.Reader reader)
public SimulationJpdlXmlReader(org.xml.sax.InputSource inputSource,
org.jbpm.jpdl.xml.ProblemListener problemListener)
| Method Detail |
|---|
public org.jbpm.graph.def.ProcessDefinition readProcessDefinition()
readProcessDefinition in class org.jbpm.jpdl.xml.JpdlXmlReaderpublic void instrument()
public org.jbpm.taskmgmt.def.Task readTask(org.dom4j.Element taskElement,
org.jbpm.taskmgmt.def.TaskMgmtDefinition taskMgmtDefinition,
org.jbpm.graph.node.TaskNode taskNode)
readTask in class org.jbpm.jpdl.xml.JpdlXmlReader
public void readNode(org.dom4j.Element nodeElement,
org.jbpm.graph.def.Node node,
org.jbpm.graph.def.NodeCollection nodeCollection)
readNode in class org.jbpm.jpdl.xml.JpdlXmlReader
public org.jbpm.graph.def.Transition resolveTransitionDestination(org.dom4j.Element transitionElement,
org.jbpm.graph.def.Node node)
resolveTransitionDestination in class org.jbpm.jpdl.xml.JpdlXmlReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||