org.objectweb.dream.control.activity.task
Class AbstractTask
java.lang.Object
org.objectweb.dream.control.activity.task.AbstractTask
- All Implemented Interfaces:
- NameController, Task
- public abstract class AbstractTask
- extends Object
- implements Task, NameController
Abstract Task class. Provides a name controller interface to give a name to a
task.
Field Summary |
protected static Integer |
EXECUTE_AGAIN
An integer that can be used with some schedulers to specify that the task
should be executed again. |
protected static Integer |
STOP_EXECUTING
An integer that can be used with some schedulers to specify that the task
should not be executed again. |
protected String |
taskName
|
Fields inherited from interface org.objectweb.dream.control.activity.task.Task |
ITF_NAME |
Methods inherited from interface org.objectweb.dream.control.activity.task.Task |
execute |
EXECUTE_AGAIN
protected static final Integer EXECUTE_AGAIN
- An integer that can be used with some schedulers to specify that the task
should be executed again.
STOP_EXECUTING
protected static final Integer STOP_EXECUTING
- An integer that can be used with some schedulers to specify that the task
should not be executed again.
taskName
protected String taskName
AbstractTask
public AbstractTask(String name)
- Create a Task with the specified name.
- Parameters:
name
- the name of the task
getFcName
public String getFcName()
- Specified by:
getFcName
in interface NameController
- See Also:
NameController.getFcName()
setFcName
public void setFcName(String name)
- Specified by:
setFcName
in interface NameController
- See Also:
NameController.setFcName(java.lang.String)
toString
public String toString()
- See Also:
Object.toString()
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.