|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kwfgrid.gwes.TokenUtils
public class TokenUtils
| Field Summary | |
|---|---|
static int |
DATA_GROUP_IGNORE_CONTROL
|
static int |
DATA_GROUP_IGNORE_READ_WRITE
|
| Method Summary | |
|---|---|
static boolean |
checkDataGroup(net.kwfgrid.gworkflowdl.structure.Token token,
boolean isReadWriteToken,
String dataGroup,
int ignoreDataGroup)
Check if the token belongs to a certain data group. |
static String[] |
getCombineDataGroupsEdgeExpressions(net.kwfgrid.gworkflowdl.structure.Transition transition)
|
static int |
getIgnoreDataGroupsCode(net.kwfgrid.gworkflowdl.structure.Transition transition)
|
static TokenUtils |
getInstance()
Singleton pattern |
static net.kwfgrid.gworkflowdl.structure.Token |
getNextUnlockedToken(net.kwfgrid.gworkflowdl.structure.Edge edge,
boolean isReadEdge,
String dataGroup,
int ignoreDataGroups)
Search next token of a certain dataGroup which is not locked. |
static int |
getNextUnlockedTokenIndex(net.kwfgrid.gworkflowdl.structure.Edge edge,
boolean isReadEdge,
String dataGroup,
int ignoreDataGroups)
Get the index of the next token of a certain dataGroup which is not locked |
static String |
updateDataGroup(TokenParameter tp,
int ignoreDataGroups,
String[] combineDataGroupsEdgeExpressions,
ArrayList<String> dataGroups)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DATA_GROUP_IGNORE_READ_WRITE
public static final int DATA_GROUP_IGNORE_CONTROL
| Method Detail |
|---|
public static TokenUtils getInstance()
public static net.kwfgrid.gworkflowdl.structure.Token getNextUnlockedToken(net.kwfgrid.gworkflowdl.structure.Edge edge,
boolean isReadEdge,
String dataGroup,
int ignoreDataGroups)
edge -
null if there is no unlocked token.
public static int getNextUnlockedTokenIndex(net.kwfgrid.gworkflowdl.structure.Edge edge,
boolean isReadEdge,
String dataGroup,
int ignoreDataGroups)
edge - dataGroup -
-1 if there is no unlocked token.
public static boolean checkDataGroup(net.kwfgrid.gworkflowdl.structure.Token token,
boolean isReadWriteToken,
String dataGroup,
int ignoreDataGroup)
token - dataGroup -
public static String updateDataGroup(TokenParameter tp,
int ignoreDataGroups,
String[] combineDataGroupsEdgeExpressions,
ArrayList<String> dataGroups)
public static int getIgnoreDataGroupsCode(net.kwfgrid.gworkflowdl.structure.Transition transition)
public static String[] getCombineDataGroupsEdgeExpressions(net.kwfgrid.gworkflowdl.structure.Transition transition)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||