tp-statemachine-cmd
2016-06-23 14:37:21 0 举报
tp-statemachine-cmd是一个基于状态机的命令行工具,用于管理和控制状态转换。它提供了一种简洁而强大的方式,使得开发人员可以轻松地定义和管理复杂的状态转换逻辑。通过使用tp-statemachine-cmd,用户可以创建、修改和删除状态机,以及执行各种操作来触发状态之间的转换。该工具还提供了丰富的命令选项和参数,以满足不同场景下的需求。无论是在嵌入式系统、自动化测试还是其他应用程序中,tp-statemachine-cmd都是一个非常有用的工具,可以帮助开发人员提高效率并简化代码的复杂性。
作者其他创作
大纲/内容
fundStatus: 0未付款;1已付款;2通知结算;stepFundStatus: 数组索引表示阶段,0一次性;1定金;2尾款logisticStatus: 0未发货;1部分发货;2全部发货;3确认收货refundStatus: 0未发起退款;1退款中;3全部退款达成freezed: 是否被冻结risked: 是否被分控showStatus: 0不可见;1可见
1..n
SpringExpressionCheck
TaskNode
+ name: String+ condition: String+ transitions: List+ start: boolean+ end: boolean
WorkFlowTemplate
+ name: String+ tradeType: Integer+ bizTypes: List+ category: String+ nodes: List+ startTransitions: Set+ idempotentTransitions: Set
Transition
+ name: String+ to: String+ action: String+ idempotent: boolean
ConditionCheck
+ check(String con):boolean
TemplateIdentifier
+ getIdentity(WorkFlowTemplate t):String[]+ getIdentity(Context ctx): String
WorkFlowAction
+ execute(Context ctx): void
JSONWorkWorkFlowEngine
+ init():void+ findTemplate(Context ctx): WorkFlowTemplate+ findTaskNode(Context ctx): TaskNode
TradePlatformContext
- fundStatus: int[]- logisticStatus: int- refundStatus: int- freezed: boolean- risked: boolean
WorkFlowEngine
Context
- beanProvider: BeanProvider- requestSpec: Object- responseSpec: Object
0 条评论
下一页