mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-20 03:58:09 +08:00
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"flow": {
|
|
"nodes": {
|
|
"node": [
|
|
{
|
|
"id": "a",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.ACmp"
|
|
},
|
|
{
|
|
"id": "b",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.BCmp"
|
|
},
|
|
{
|
|
"id": "c",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.CCmp"
|
|
},
|
|
{
|
|
"id": "d",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.DCmp"
|
|
},
|
|
{
|
|
"id": "e",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.ECmp"
|
|
},
|
|
{
|
|
"id": "f",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.FCmp"
|
|
},
|
|
{
|
|
"id": "g",
|
|
"class": "com.yomahub.liteflow.test.parser.cmp.GCmp"
|
|
}
|
|
]
|
|
},
|
|
"chain": [
|
|
{
|
|
"name": "chain2",
|
|
"condition": [
|
|
{"type": "then", "value": "c,g,f"}
|
|
]
|
|
},
|
|
{
|
|
"name": "chain1",
|
|
"condition": [
|
|
{"type": "then", "value": "a,c"},
|
|
{"type": "when", "value": "b,d,e(f|g)"},
|
|
{"type": "then", "value": "chain2"}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |