KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > EventConstants


1 /*
2 *
3 * EventConstants.java -
4 * Copyright (C) 2002 Ecoo Team
5 * charoy@loria.fr
6 *
7 *
8 * This program is free software; you can redistribute it and/or
9 * 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
26 public interface EventConstants
27 {
28
29     // Event parameters
30
public static final String JavaDoc EVENT="event";
31     public static final String JavaDoc PROJECTNAME="projectName";
32     public static final String JavaDoc NODENAME="nodeName";
33     public static final String JavaDoc NODETYPE="nodeType";
34     public static final String JavaDoc NODESTATE="nodeState";
35     public static final String JavaDoc EDGENAME="edgeName";
36     public static final String JavaDoc NODEIN="nodeIn";
37     public static final String JavaDoc NODEOUT="nodeOut";
38     public static final String JavaDoc NODE="BnNode";
39     public static final String JavaDoc EDGE="BnEdge";
40     public static final String JavaDoc PROJECT="BnProject";
41     public static final String JavaDoc USER="user";
42     public static final String JavaDoc ROLE="role";
43     public static final String JavaDoc USERROLE="userRole";
44     public static final String JavaDoc USERNAME="userName";
45     public static final String JavaDoc ROLENAME="roleName";
46     public static final String JavaDoc ITERATION="iteration";
47     public static final String JavaDoc FROM="from";
48     public static final String JavaDoc TO="to";
49
50     // Event types
51
public static final String JavaDoc ADDNODE="addNode";
52     public static final String JavaDoc ADDEDGE="addEdge";
53     public static final String JavaDoc SETNODESTATE="setNodeState";
54     public static final String JavaDoc SETNODEDEADLINE="setNodeDeadline";
55     public static final String JavaDoc NODEDEADLINE="nodeDeadline";
56     public static final String JavaDoc SETNODEDEADLINES="setNodeDeadlines";
57     public static final String JavaDoc NODEDEADLINES="nodeDeadlines";
58     public static final String JavaDoc SETNODEEXECUTOR="setNodeExecutor";
59     public static final String JavaDoc SETEDGESTATE="setEdgeState";
60     public static final String JavaDoc ADDUSERPROJECT="addUserProject";
61     public static final String JavaDoc DELETENODE="deleteNode";
62     public static final String JavaDoc DELETEEDGE="deleteEdge";
63     public static final String JavaDoc DELETEPROJECT="deleteProject";
64     public static final String JavaDoc CHANGEROLE="changeRole";
65     public static final String JavaDoc ADDROLE="addRole";
66     public static final String JavaDoc SETUSERROLE="setUserRole";
67     public static final String JavaDoc UNSETUSERROLE="unsetUserRole";
68     public static final String JavaDoc READYINITIAL="initialReady";
69     public static final String JavaDoc START="start";
70     public static final String JavaDoc ANTICIPATING="anticipating";
71     public static final String JavaDoc TERMINATED="terminated";
72     public static final String JavaDoc CANCELED="canceled";
73     public static final String JavaDoc ADDITERATION="addIteration";
74
75     // Log file
76

77     public static final String JavaDoc LOG="bonita.log";
78
79 }
80     
81
Popular Tags