org.objectweb.dream.control.activity.task
Interface Task

All Known Implementing Classes:
AbstractTask, AbstractThreadTask

public interface Task

Interface representing a task.


Field Summary
static String ITF_NAME
          The commonly used nam to refer to this interface.
 
Method Summary
 Object execute(Object hints)
          The method that is executed.
 

Field Detail

ITF_NAME

public static final String ITF_NAME
The commonly used nam to refer to this interface.

See Also:
Constant Field Values
Method Detail

execute

public Object execute(Object hints)
               throws InterruptedException
The method that is executed.

Parameters:
hints - execution paramters.
Returns:
an object representing the execution result.
Throws:
InterruptedException - if this task is interrupted.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.