1 22 package org.netbeans.lib.cvsclient.event; 23 24 29 public class EnhancedMessageEvent extends MessageEvent { 30 31 35 public static final String MERGED_PATH = "Merged_Response_File_Path"; 37 40 public static final String FILE_SENDING = "File_Sent_To_Server"; 42 46 public static final String REQUESTS_SENT = "All_Requests_Were_Sent"; 48 52 public static final String REQUESTS_COUNT = "Requests_Count"; 54 private String key; 55 private Object value; 56 57 65 66 public EnhancedMessageEvent(Object source, String key, Object value) { 67 super(source, "", false); this.key = key; 69 this.value = value; 70 } 71 72 75 public String getKey() { 76 return key; 77 } 78 79 82 public void setKey(String key) { 83 this.key = key; 84 } 85 86 89 public Object getValue() { 90 return value; 91 } 92 93 96 public void setValue(Object value) { 97 this.value = value; 98 } 99 } 100 | Popular Tags |