org.jprocessunit.addon.jpd
Class DeleteTaskEvent

java.lang.Object
  extended by org.jprocessunit.ActionEvent
      extended by org.jprocessunit.addon.jpd.DeleteTaskEvent
All Implemented Interfaces:
ProcessEvent

public class DeleteTaskEvent
extends ActionEvent

JProcessUnit ActionEvent class used to delete a WLI task.

Author:
Reza Shafii

Constructor Summary
DeleteTaskEvent(com.bea.wli.worklist.api.TaskSelector taskSelector)
          The wait event is satisfied as soon as a single task matches the selector.
 
Method Summary
 void performAction()
          This method ensures that the first task matched by taskSelector is deleted.
 void setTaskSelector(com.bea.wli.worklist.api.TaskSelector taskSelector)
          The action event is executed on the first task matches the selector.
 
Methods inherited from class org.jprocessunit.ActionEvent
assertEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteTaskEvent

public DeleteTaskEvent(com.bea.wli.worklist.api.TaskSelector taskSelector)
The wait event is satisfied as soon as a single task matches the selector.

Parameters:
taskSelector -
Method Detail

setTaskSelector

public void setTaskSelector(com.bea.wli.worklist.api.TaskSelector taskSelector)
The action event is executed on the first task matches the selector.

Parameters:
taskSelector -

performAction

public void performAction()
This method ensures that the first task matched by taskSelector is deleted.

Specified by:
performAction in class ActionEvent


JProcessUnit API