Package org.jbpm.simulation.impl
Class BPMN2PathFinderImpl
- java.lang.Object
-
- org.jbpm.simulation.impl.BPMN2PathFinderImpl
-
- All Implemented Interfaces:
PathFinder
public class BPMN2PathFinderImpl extends Object implements PathFinder
-
-
Constructor Summary
Constructors Constructor Description BPMN2PathFinderImpl(File bpmn2File)BPMN2PathFinderImpl(InputStream bpmn2Stream)BPMN2PathFinderImpl(String bpmn2xml)BPMN2PathFinderImpl(org.eclipse.bpmn2.Definitions bpmn2Defs)BPMN2PathFinderImpl(org.eclipse.bpmn2.FlowElementsContainer bpmn2Container)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PathContext>findPaths()<E> EfindPaths(PathFormatConverter<E> converter)protected voidprocessEventDefinitions(org.eclipse.bpmn2.FlowElement fElement, List<org.eclipse.bpmn2.EventDefinition> eventDefinitions, Map<String,org.eclipse.bpmn2.FlowElement> catchingEvents)protected voidreadFlowElements(org.eclipse.bpmn2.FlowElementsContainer container, Map<String,org.eclipse.bpmn2.FlowElement> catchingEvents)protected static StringstreamToString(InputStream is)
-
-
-
Constructor Detail
-
BPMN2PathFinderImpl
public BPMN2PathFinderImpl(String bpmn2xml)
-
BPMN2PathFinderImpl
public BPMN2PathFinderImpl(File bpmn2File)
-
BPMN2PathFinderImpl
public BPMN2PathFinderImpl(InputStream bpmn2Stream)
-
BPMN2PathFinderImpl
public BPMN2PathFinderImpl(org.eclipse.bpmn2.Definitions bpmn2Defs)
-
BPMN2PathFinderImpl
public BPMN2PathFinderImpl(org.eclipse.bpmn2.FlowElementsContainer bpmn2Container)
-
-
Method Detail
-
findPaths
public List<PathContext> findPaths()
- Specified by:
findPathsin interfacePathFinder
-
streamToString
protected static String streamToString(InputStream is)
-
findPaths
public <E> E findPaths(PathFormatConverter<E> converter)
- Specified by:
findPathsin interfacePathFinder
-
readFlowElements
protected void readFlowElements(org.eclipse.bpmn2.FlowElementsContainer container, Map<String,org.eclipse.bpmn2.FlowElement> catchingEvents)
-
-