PageRenderTime 34ms CodeModel.GetById 31ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/razpub/src/com/razie/pubstage/life/LifeEventTypes.java

http://razpub.googlecode.com/
Java | 36 lines | 7 code | 4 blank | 25 comment | 0 complexity | 1691ffc9ebec82c536489deda9bcfaf6 MD5 | raw file
 1/**
 2 * Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for
 3 * details.
 4 */
 5package com.razie.pubstage.life;
 6
 7import com.razie.pub.events.EvTypes;
 8
 9/**
10 * event types for life package
11 * 
12 * @version $Revision: 1.63 $
13 * @since $Date: 2005/04/01 16:22:12 $
14 */
15public class LifeEventTypes extends EvTypes.Impl {
16    /**
17     * Notification that the thread is starting (called before 'run' function)
18     * 
19     * @param t Worker that is going to be started
20     */
21    public static String EV_THREAD_START = "threadStarting(Worker t)";
22
23    /**
24     * Notification that the thread has updated the progress value.
25     * 
26     * @param t Worker that has been updated
27     */
28    public static String EV_THREAD_UPD   = "threadUpdated(Worker t)";
29
30    /**
31     * Notification that the thread has stopped (called after 'run' function)
32     * 
33     * @param t Worker just has stopped its own task.
34     */
35    public static String EV_THREAD_END   = "threadFinished(Worker t)";
36}