/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. */
  5. package com.razie.pubstage.life;
  6. import com.razie.pub.events.EvTypes;
  7. /**
  8. * event types for life package
  9. *
  10. * @version $Revision: 1.63 $
  11. * @since $Date: 2005/04/01 16:22:12 $
  12. */
  13. public class LifeEventTypes extends EvTypes.Impl {
  14. /**
  15. * Notification that the thread is starting (called before 'run' function)
  16. *
  17. * @param t Worker that is going to be started
  18. */
  19. public static String EV_THREAD_START = "threadStarting(Worker t)";
  20. /**
  21. * Notification that the thread has updated the progress value.
  22. *
  23. * @param t Worker that has been updated
  24. */
  25. public static String EV_THREAD_UPD = "threadUpdated(Worker t)";
  26. /**
  27. * Notification that the thread has stopped (called after 'run' function)
  28. *
  29. * @param t Worker just has stopped its own task.
  30. */
  31. public static String EV_THREAD_END = "threadFinished(Worker t)";
  32. }