|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.dream.control.activity.task.AbstractTask
public abstract class AbstractTask
Abstract Task class. Provides a name controller interface to give a name to a task.
| Field Summary | |
|---|---|
protected Object |
controlItf
|
protected String |
taskName
|
| Fields inherited from interface org.objectweb.dream.control.activity.task.Task |
|---|
EXECUTE_AGAIN, ITF_NAME, STOP_EXECUTING |
| Constructor Summary | |
|---|---|
AbstractTask(String name)
Create a Task with the specified name. |
|
| Method Summary | |
|---|---|
Object |
getControlItf()
Returns the control interface on this task. |
String |
getFcName()
|
void |
interrupted()
Does nothing, should be overriden |
void |
registered(Object controlItf)
Sets the controlItffield |
void |
setFcName(String name)
|
String |
toString()
|
void |
unregistered()
Sets the controlItffield to null. |
| 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 |
|---|
protected String taskName
protected Object controlItf
| Constructor Detail |
|---|
public AbstractTask(String name)
name - the name of the task| Method Detail |
|---|
public Object getControlItf()
Task.registered(Object)public void interrupted()
interrupted in interface Taskpublic void registered(Object controlItf)
controlItffield
registered in interface TaskcontrolItf - An interface that can be used to control the execution of
the task. The runtime type of this interface depends on the
registration hints. Can be null.Task.registered(Object)public void unregistered()
controlItffield to null.
unregistered in interface Taskpublic String getFcName()
getFcName in interface NameControllerNameController.getFcName()public void setFcName(String name)
setFcName in interface NameControllerNameController.setFcName(String)public String toString()
toString in class ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||