|
||||||||||
| 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 java.util.List<org.jbpm.graph.exe.Token> |
collectAllActiveTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
All tokens not in a Join or Fork |
static java.util.List<org.jbpm.graph.exe.Token> |
collectAllTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
Get all tokens in the ProcessInstance |
static java.util.Map<org.jbpm.graph.exe.Token,java.lang.Object> |
collectAllValuesForVariableOnTokens(org.jbpm.graph.exe.ProcessInstance processInstance,
java.lang.String varName,
java.util.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 java.lang.String |
sanatizeName(java.lang.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(java.lang.String name,
java.lang.String value,
org.jbpm.graph.exe.Token token)
Helper for setting a local variable |
static void |
writeXml(org.jbpm.graph.def.ProcessDefinition processDefinition,
java.io.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 java.util.List<org.jbpm.graph.exe.Token> collectAllTokens(org.jbpm.graph.exe.ProcessInstance processInstance)
processInstance -
public static java.util.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 java.util.Map<org.jbpm.graph.exe.Token,java.lang.Object> collectAllValuesForVariableOnTokens(org.jbpm.graph.exe.ProcessInstance processInstance,
java.lang.String varName,
java.util.List<org.jbpm.graph.exe.Token> tokens)
processInstance -
public static void setVariable(java.lang.String name,
java.lang.String value,
org.jbpm.graph.exe.Token token)
token - id - value - public static java.lang.String sanatizeName(java.lang.String name)
name -
public static void writeXml(org.jbpm.graph.def.ProcessDefinition processDefinition,
java.io.OutputStream outputStream)
throws java.io.IOException
processDefinition - outputStream -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||