public class VChain extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
protected LinkedList<VProcessor> |
ps |
| Constructor and Description |
|---|
VChain() |
| Modifier and Type | Method and Description |
|---|---|
VChain |
add(VProcessor vProcessor)
添加V处理器
|
Object |
run(Object input)
执行链
按v型依次执行, 上个处理结果为下个处理器的入参
|
protected static final org.slf4j.Logger log
protected final LinkedList<VProcessor> ps
public Object run(Object input)
input - 入参public VChain add(VProcessor vProcessor)
vProcessor - v处理器VChainCopyright © 2022. All rights reserved.