jBPM distribution 6.0.0.Alpha9

org.droolsjbpm.services.impl.example
Class TriggerTestsWorkItemHandler

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

public class TriggerTestsWorkItemHandler
extends Object
implements WorkItemHandler


Field Summary
static String WIP_INPUT_MAX_CONTENT_LENGTH
           
static String WIP_INPUT_MIN_CONTENT_LENGTH
           
static String WIP_INPUT_RELEASE
           
static String WIP_INPUT_TEST
           
static String WIP_OUTPUT_REPORT
           
static String WIP_OUTPUT_SUCCESSFUL
           
 
Constructor Summary
TriggerTestsWorkItemHandler()
           
 
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_TEST

public static final String WIP_INPUT_TEST
See Also:
Constant Field Values

WIP_INPUT_MIN_CONTENT_LENGTH

public static final String WIP_INPUT_MIN_CONTENT_LENGTH
See Also:
Constant Field Values

WIP_INPUT_MAX_CONTENT_LENGTH

public static final String WIP_INPUT_MAX_CONTENT_LENGTH
See Also:
Constant Field Values

WIP_OUTPUT_SUCCESSFUL

public static final String WIP_OUTPUT_SUCCESSFUL
See Also:
Constant Field Values

WIP_OUTPUT_REPORT

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

TriggerTestsWorkItemHandler

public TriggerTestsWorkItemHandler()
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.