|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jprocessunit.ActionEvent
org.jprocessunit.addon.jpd.CompleteTaskEvent
public class CompleteTaskEvent
JProcessUnit ActionEvent class used to bring a WLI task to a completed state.
| Constructor Summary | |
|---|---|
CompleteTaskEvent(com.bea.wli.worklist.api.TaskSelector taskSelector)
The action event is executed on the first task matches the selector. |
|
| Method Summary | |
|---|---|
void |
performAction()
This method ensures that the task identified by taskSelector has its state changed to to completed. |
void |
setAssignToUser(java.lang.String userName)
Used when the task has not been assigned to a specific user, in which case the action event first assignes the task to userName and then completes the task. |
void |
setTaskResponse(java.io.File taskResponse)
Sets the response paramter of the task to which this instance is tied to the XML content of the given file. |
void |
setTaskResponse(java.lang.String taskResponse)
Sets the response paramter of the task to which this instance is tied to the XML content of the given String. |
void |
setTaskSelector(com.bea.wli.worklist.api.TaskSelector taskSelector)
The wait event is satisfied as soon as a single 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 |
|---|
public CompleteTaskEvent(com.bea.wli.worklist.api.TaskSelector taskSelector)
taskSelector - | Method Detail |
|---|
public void setTaskResponse(java.io.File taskResponse)
taskResponse - public void setTaskResponse(java.lang.String taskResponse)
taskResponse - public void setTaskSelector(com.bea.wli.worklist.api.TaskSelector taskSelector)
taskSelector - public void setAssignToUser(java.lang.String userName)
userName - public void performAction()
performAction in class ActionEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||