01: /*
02: *
03: * EventConstants.java -
04: * Copyright (C) 2002 Ecoo Team
05: * charoy@loria.fr
06: *
07: *
08: * This program is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU Lesser General Public License
10: * as published by the Free Software Foundation; either version 2
11: * of the License, or (at your option) any later version.
12: *
13: * This program is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU Lesser General Public License for more details.
17: *
18: * You should have received a copy of the GNU Lesser General Public License
19: * along with this program; if not, write to the Free Software
20: * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21: */
22:
23: package hero.util;
24:
25: public interface EventConstants {
26:
27: // Event parameters
28: public static final String EVENT = "event";
29: public static final String PROJECTNAME = "projectName";
30: public static final String NODENAME = "nodeName";
31: public static final String NODETYPE = "nodeType";
32: public static final String NODESTATE = "nodeState";
33: public static final String EDGENAME = "edgeName";
34: public static final String NODEIN = "nodeIn";
35: public static final String NODEOUT = "nodeOut";
36: public static final String NODE = "BnNode";
37: public static final String EDGE = "BnEdge";
38: public static final String PROJECT = "BnProject";
39: public static final String USER = "user";
40: public static final String ROLE = "role";
41: public static final String USERROLE = "userRole";
42: public static final String USERNAME = "userName";
43: public static final String ROLENAME = "roleName";
44: public static final String ITERATION = "iteration";
45: public static final String FROM = "from";
46: public static final String TO = "to";
47:
48: // Event types
49: public static final String ADDNODE = "addNode";
50: public static final String ADDEDGE = "addEdge";
51: public static final String SETNODESTATE = "setNodeState";
52: public static final String SETNODEDEADLINE = "setNodeDeadline";
53: public static final String NODEDEADLINE = "nodeDeadline";
54: public static final String SETNODEDEADLINES = "setNodeDeadlines";
55: public static final String NODEDEADLINES = "nodeDeadlines";
56: public static final String SETNODEEXECUTOR = "setNodeExecutor";
57: public static final String SETEDGESTATE = "setEdgeState";
58: public static final String ADDUSERPROJECT = "addUserProject";
59: public static final String DELETENODE = "deleteNode";
60: public static final String DELETEEDGE = "deleteEdge";
61: public static final String DELETEPROJECT = "deleteProject";
62: public static final String CHANGEROLE = "changeRole";
63: public static final String ADDROLE = "addRole";
64: public static final String SETUSERROLE = "setUserRole";
65: public static final String UNSETUSERROLE = "unsetUserRole";
66: public static final String READYINITIAL = "initialReady";
67: public static final String START = "start";
68: public static final String ANTICIPATING = "anticipating";
69: public static final String TERMINATED = "terminated";
70: public static final String CANCELED = "canceled";
71: public static final String ADDITERATION = "addIteration";
72:
73: // Log file
74:
75: public static final String LOG = "bonita.log";
76:
77: // default version
78: public static final String DEFAULTPROJECTVERSION = "1.0";
79:
80: }
|