|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.innovationinvestments.cheyenne.engine.support.JbpmUtil
public class JbpmUtil
| Constructor Summary | |
|---|---|
JbpmUtil()
|
|
| Method Summary | |
|---|---|
static List<org.jbpm.graph.exe.Token> |
collectAllActiveTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
All tokens not in a Join or Fork |
static List<org.jbpm.graph.exe.Token> |
collectAllTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
Get all tokens in the ProcessInstance |
static Map<org.jbpm.graph.exe.Token,Object> |
collectAllValuesForVariableOnTokens(org.jbpm.graph.exe.ProcessInstance processInstance,
String varName,
List<org.jbpm.graph.exe.Token> tokens)
Get all values of a variable for all specified tokens |
static org.jbpm.graph.def.Node |
peeloutNode(org.jbpm.graph.def.Node lNode)
|
static String |
sanatizeName(String name)
Make sure the string that is going to be used as a name for nodes or transitions is not invalid |
static void |
setVariable(String name,
String value,
org.jbpm.graph.exe.Token token)
Helper for setting a local variable |
static void |
writeXml(org.jbpm.graph.def.ProcessDefinition processDefinition,
OutputStream outputStream)
Write a process definition as xml to the output stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JbpmUtil()
| Method Detail |
|---|
public static List<org.jbpm.graph.exe.Token> collectAllTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
processInstance -
public static List<org.jbpm.graph.exe.Token> collectAllActiveTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
processInstance -
public static org.jbpm.graph.def.Node peeloutNode(org.jbpm.graph.def.Node lNode)
lNode -
public static Map<org.jbpm.graph.exe.Token,Object> collectAllValuesForVariableOnTokens(org.jbpm.graph.exe.ProcessInstance processInstance,
String varName,
List<org.jbpm.graph.exe.Token> tokens)
processInstance -
public static void setVariable(String name,
String value,
org.jbpm.graph.exe.Token token)
token - id - value - public static String sanatizeName(String name)
name -
public static void writeXml(org.jbpm.graph.def.ProcessDefinition processDefinition,
OutputStream outputStream)
throws IOException
processDefinition - outputStream -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||