@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @Node(name="", haveState=false, autoExecute=true, processor="") public @interface TransientNode
瞬态节点是一种单纯的处理单元,执行前不会提交和新建事务。 对应的节点决策器返回值类型必须为String,入参类型可为:()、(FlowContext)、(T)、(T, FlowContext)————T表示能被对应的处理器返回结果赋值的类型。
@AliasFor(annotation=Node.class, attribute="name") public abstract String name
@AliasFor(annotation=Node.class, attribute="processor") public abstract String processor
Copyright © 2020. All rights reserved.