jBPM distribution 6.0.0-SNAPSHOT

org.jbpm.test
Class JbpmJUnitBaseTestCase.TestWorkItemHandler

java.lang.Object
  extended by org.jbpm.test.JbpmJUnitBaseTestCase.TestWorkItemHandler
All Implemented Interfaces:
WorkItemHandler
Enclosing class:
JbpmJUnitBaseTestCase

protected static class JbpmJUnitBaseTestCase.TestWorkItemHandler
extends Object
implements WorkItemHandler


Constructor Summary
protected JbpmJUnitBaseTestCase.TestWorkItemHandler()
           
 
Method Summary
 void abortWorkItem(WorkItem workItem, WorkItemManager manager)
          The given work item should be aborted.
 void executeWorkItem(WorkItem workItem, WorkItemManager manager)
          The given work item should be executed.
 WorkItem getWorkItem()
           
 List<WorkItem> getWorkItems()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmJUnitBaseTestCase.TestWorkItemHandler

protected JbpmJUnitBaseTestCase.TestWorkItemHandler()
Method Detail

executeWorkItem

public void executeWorkItem(WorkItem workItem,
                            WorkItemManager manager)
Description copied from interface: WorkItemHandler
The given work item should be executed.

Specified by:
executeWorkItem in interface WorkItemHandler
Parameters:
workItem - the work item that should be executed
manager - the manager that requested the work item to be executed

abortWorkItem

public void abortWorkItem(WorkItem workItem,
                          WorkItemManager manager)
Description copied from interface: WorkItemHandler
The given work item should be aborted.

Specified by:
abortWorkItem in interface WorkItemHandler
Parameters:
workItem - the work item that should be aborted
manager - the manager that requested the work item to be aborted

getWorkItem

public WorkItem getWorkItem()

getWorkItems

public List<WorkItem> getWorkItems()

jBPM distribution 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.