1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.nxqd.event;
17
18 /**
19 *
20 * @author <a href="mailto:webhiker@sourceforge.net">webhiker</a>
21 * @version 1.0
22 */
23 public class NxqdManagerEvent extends NxqdEvent {
24
25 public static final int CONTAINER_CREATED = 100;
26 public static final int CONTAINER_DELETED = 200;
27 public static final int CONTAINER_RENAMED = 300;
28
29 public NxqdManagerEvent() {
30 }
31
32 public String getTypeDescription() {
33 switch (getType()) {
34 case CONTAINER_CREATED : return "CONTAINER_CREATED";
35 case CONTAINER_DELETED : return "CONTAINER_DELETED";
36 case CONTAINER_RENAMED : return "CONTAINER_RENAMED";
37 default : return "UNKNOWN";
38 }
39 }
40
41 }
42