Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.cesgroup.bdc.wfself.node.gateway;
import com.cesgroup.bdc.wfself.def.CommonNode;
import com.cesgroup.bdc.wfself.def.IGateway;
import com.cesgroup.bdc.wfself.def.INode;
import java.util.List;
/**
* 流程排他网关
*
* @author khaoth
*/
public abstract class ExcluGateway extends CommonNode implements IGateway {
public ExcluGateway() {}
/**
* 构造函数
*
* @param code
* 节点code
* @param name
* 节点名称
*/
public ExcluGateway(String code, String name) {
super(code, name);
}
/**
* 网关流向判断。
*
* 默认返回nodeList第一个值
*
* @param param
* 判断参数
* @param nodeList
* 流向的节点
* @return
*/
public abstract INode condition(String param, List<INode> nodeList);
}