activity.java
来自「一个很好的微工作流内核」· Java 代码 · 共 31 行
JAVA
31 行
/* * * Copyright (c) 2002, 2003 Dragos Manolescu (dam@micro-workflow.com) * * See the LICENSE file for licensing information. */package com.microworkflow.process;import com.microworkflow.execution.Continuation;/** * @author dam * * The micro-workflow framework uses an activity-based process model. I have described most of the * control structures in my <a href="http://micro-workflow.com/PhDThesis/">thesis</a>. */public abstract class Activity { public Sequence addStep(Activity anActivity) { Sequence seq=new Sequence(); seq.addStep(this); seq.addStep(anActivity); return seq; } public abstract Continuation continuationWith(Continuation continuation); public abstract void computeStateFor(Continuation k);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?