net.incongru.taskman.action
Interface TaskContext
- All Known Implementing Classes:
- HibernatedTaskMan.TaskContextImpl
public interface TaskContext
A simple object passed to TaskAction which exposes the event
which triggered this TaskAction and the concerned TaskInstance;
it also exposes a couple of lifecycle methods for the current TaskInstance.
TODO : the lifecycle methods can't probably work as of now, since the session
in HibernatedTaskMan would be closed at the time of execution.
TODO : actually the statement is probably false, since actions are currently
executed synchronously.
- Version:
- $Revision: $
- Author:
- greg, $Author: $ (last edit)
assignTask
void assignTask(Assignee assignee)
addTaskVariable
void addTaskVariable(java.lang.String name,
java.lang.Object value)
startTask
void startTask()
stopTask
void stopTask()
cancelTask
void cancelTask()
getTask
TaskInstance getTask()
getEvent
TaskEvent getEvent()
Copyright © 2004-2007. All Rights Reserved.