jBPM distribution 6.0.0.Alpha9

org.droolsjbpm.services.impl.example
Class NotificationWorkItemHandler

java.lang.Object
  extended by org.droolsjbpm.services.impl.example.NotificationWorkItemHandler
All Implemented Interfaces:
WorkItemHandler

public class NotificationWorkItemHandler
extends Object
implements WorkItemHandler


Field Summary
static String WIP_INPUT_EMAILS
           
static String WIP_INPUT_RELEASE
           
static String WIP_INPUT_REPORT
           
 
Constructor Summary
NotificationWorkItemHandler()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIP_INPUT_RELEASE

public static final String WIP_INPUT_RELEASE
See Also:
Constant Field Values

WIP_INPUT_REPORT

public static final String WIP_INPUT_REPORT
See Also:
Constant Field Values

WIP_INPUT_EMAILS

public static final String WIP_INPUT_EMAILS
See Also:
Constant Field Values
Constructor Detail

NotificationWorkItemHandler

public NotificationWorkItemHandler()
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

jBPM distribution 6.0.0.Alpha9

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