token.java

来自「一个java工作流引擎」· Java 代码 · 共 29 行

JAVA
29
字号
package org.jbpm.model.execution;

import java.io.*;
import java.util.*;

import org.jbpm.model.definition.*;

/**
 * is a 'thread of control' in a business process, also called 'path of execution'.  
 * This corresponds to the notion of 'the token' in petri-nets. 
 */
public interface Token extends Serializable {

  Long getId();
  String getName();
  Token getParent();
  Map getChildren();
  ProcessInstance getProcessInstance();
  State getState();
  String getActorId();
  Date getStart();
  Date getEnd();
  boolean hasEnded();
  ProcessInstance getSubProcessInstance();
  
  Map getVariables();
  SortedSet getInvocationLogs();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?