📄 activity.java
字号:
/* * * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -