org.objectweb.dream.control.activity.task
Class AbstractTask

java.lang.Object
  extended byorg.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
 
Constructor Summary
AbstractTask(String name)
          Create a Task with the specified name.
 
Method Summary
 String getFcName()
           
 void setFcName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.dream.control.activity.task.Task
execute
 

Field Detail

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
Constructor Detail

AbstractTask

public AbstractTask(String name)
Create a Task with the specified name.

Parameters:
name - the name of the task
Method Detail

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.