org.openemcee.microflow.impl
Class MicroflowExecutor

java.lang.Object
  extended byorg.openemcee.microflow.impl.MicroflowExecutor

public class MicroflowExecutor
extends java.lang.Object

Author:
Scott Schenkein

Nested Class Summary
 class MicroflowExecutor.DataIntegrityException
           
 class MicroflowExecutor.ExecutorError
           
 class MicroflowExecutor.ValidationException
           
 class MicroflowExecutor.WorkflowBusinessFailure
           
 
Field Summary
static java.lang.String LAST_OUTCOME_KEY
           
static java.lang.String SUBFLOW_EXCEPTION_KEY
           
static java.lang.String UNDO_STACK_KEY
           
 
Constructor Summary
MicroflowExecutor(JobDescriptor job)
          Creates a new instance of MicroflowExecutor
 
Method Summary
 void addInitialMicroflowData(java.lang.String key, java.lang.Object value)
           
 void addIntialMicroflowData(java.lang.String key, java.lang.Object value, java.lang.Class type)
           
 void execute()
           
 java.lang.Object getAttribute(java.lang.String name)
           
 MicroflowDataImpl getData()
          Getter for property data.
 void undo(org.apache.commons.collections.ArrayStack undoList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAST_OUTCOME_KEY

public static final java.lang.String LAST_OUTCOME_KEY

UNDO_STACK_KEY

public static final java.lang.String UNDO_STACK_KEY

SUBFLOW_EXCEPTION_KEY

public static final java.lang.String SUBFLOW_EXCEPTION_KEY
Constructor Detail

MicroflowExecutor

public MicroflowExecutor(JobDescriptor job)
Creates a new instance of MicroflowExecutor

Method Detail

addInitialMicroflowData

public void addInitialMicroflowData(java.lang.String key,
                                    java.lang.Object value)

addIntialMicroflowData

public void addIntialMicroflowData(java.lang.String key,
                                   java.lang.Object value,
                                   java.lang.Class type)

undo

public void undo(org.apache.commons.collections.ArrayStack undoList)

execute

public void execute()
             throws MicroflowExecutor.ExecutorError,
                    MicroflowExecutor.WorkflowBusinessFailure,
                    MicroflowExecutor.DataIntegrityException
Throws:
MicroflowExecutor.ExecutorError
MicroflowExecutor.WorkflowBusinessFailure
MicroflowExecutor.DataIntegrityException

getData

public MicroflowDataImpl getData()
Getter for property data.

Returns:
Value of property data.

getAttribute

public java.lang.Object getAttribute(java.lang.String name)


OpenEmcee Microflow Engine for Java: All software and content contained herein is subject to the Mozilla public license v1.1.
SourceForge.net Logo