statusdesc.java

来自「java实现的可配置的工作流引擎,采用jsp+javabean实现」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * Created on 2004-10-12
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hongsoft.agile.pojo;
import java.util.*;

/**
 * 1: 只能到5,6    从1到5只能在程序内部,子流程完成时做
 * 2.1: 到2.2, 3, 6
 * 2.2:  到3,5,6
 * 3:  到2.1, 2.2, 6
 * 5: 6: 结束了
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class StatusDesc {	
	public static final Map statusMap=new HashMap();
	public static final String NotStarted="1";
	public static final String NotAccepted="2.1";
	public static final String Accepted="2.2";
	
	public static final String Suspended="3";
	
	public static final String Completed="5";
	public static final String Aborted="6";
	static
	{
		statusMap.put("1","进入子流程");
		statusMap.put("2.1","已启动");
		statusMap.put("2.2","已接收");
		
		statusMap.put("3","已挂起");
		
		statusMap.put("5","已完成");
		statusMap.put("6","已中止");
	}
}

⌨️ 快捷键说明

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