public class HistoryUtil extends Object
The raw workflow instance history is a compact format that enlists a series
of execution events separated by a "|". Please refer to Event to understand
the syntax and meaning of individual events.
For instance, this class parses the following series of events
"start|1:1!|1:1=>2|1:2!|2:2=>3|3:2=>4|2:3!|2:3=>-2|2:-2!|1:-2=>6|1:6!|executed|"
into
"start; token 1 executed node(s) 1, 2; token 2 moved from 2 to 3; token 3 moved from 2 to 4; token 2 executed node(s) 3, -2; token 1 moved from -2 to 6; token 1 executed node(s) 6; execution completed"
| Constructor and Description |
|---|
HistoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
deleteHistory(String history) |
static List<String> |
getExecutionSteps(String history) |
Copyright © 2018. All rights reserved.