jBPM distribution 6.0.0.Beta1

org.droolsjbpm.services.impl.example
Class MoveFileWorkItemHandler

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

public class MoveFileWorkItemHandler
extends Object
implements WorkItemHandler


Field Summary
static boolean KEEP_ORIGINAL_FILES_DEFAULT_VALUE
           
static String WIP_INPUT_FILES
           
static String WIP_INPUT_KEEP_ORIGINAL_FILES
           
static String WIP_INPUT_RELEASE
           
static String WIP_INPUT_SOURCE
           
static String WIP_INPUT_TARGET
           
static String WIP_OUTPUT_ERRORS
           
 
Constructor Summary
MoveFileWorkItemHandler()
           
 
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_SOURCE

public static final String WIP_INPUT_SOURCE
See Also:
Constant Field Values

WIP_INPUT_TARGET

public static final String WIP_INPUT_TARGET
See Also:
Constant Field Values

WIP_INPUT_FILES

public static final String WIP_INPUT_FILES
See Also:
Constant Field Values

WIP_INPUT_KEEP_ORIGINAL_FILES

public static final String WIP_INPUT_KEEP_ORIGINAL_FILES
See Also:
Constant Field Values

WIP_OUTPUT_ERRORS

public static final String WIP_OUTPUT_ERRORS
See Also:
Constant Field Values

KEEP_ORIGINAL_FILES_DEFAULT_VALUE

public static final boolean KEEP_ORIGINAL_FILES_DEFAULT_VALUE
See Also:
Constant Field Values
Constructor Detail

MoveFileWorkItemHandler

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

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