KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > taskman > Task


1 package org.sapia.taskman;
2
3 /**
4  * Models a unit of work to be executed by a <code>TaskManager</code>.
5  *
6  * @author Yanick Duchesne 15-Apr-2003
7  * <dl>
8  * <dt><b>Copyright: </b>
9  * <dd>Copyright &#169; 2002-2004 <a
10  * HREF="http://www.sapia-oss.org">Sapia Open Source Software </a>. All
11  * Rights Reserved.</dd>
12  * </dt>
13  * <dt><b>License: </b>
14  * <dd>Read the license.txt file of the jar or visit the <a
15  * HREF="http://www.sapia-oss.org/license.html">license page </a> at the
16  * Sapia OSS web site</dd>
17  * </dt>
18  * </dl>
19  */

20 public interface Task extends java.io.Serializable JavaDoc {
21   /**
22    * Executes this task.
23    *
24    * @param ctx
25    * a <code>TaskContext</code>.
26    */

27   public void exec(TaskContext ctx);
28 }
29
Popular Tags