org.eclipse.emf.mwe.core
Class WorkflowEngine
java.lang.Object
org.eclipse.emf.mwe.core.WorkflowEngine
public class WorkflowEngine
- extends java.lang.Object
Method Summary |
boolean |
executeWorkflow(java.util.Map<?,?> externalSlotContents,
Issues issues)
|
WorkflowContext |
getContext()
|
protected java.util.Map<java.lang.Class<?>,Converter<?>> |
getCustomConverters()
Returns a map of custom Converter implementations used for the injection process. |
protected WorkflowFactory |
getWorkflowFactory()
Creates a new workflow factory |
boolean |
prepare(java.lang.String workFlowFile,
ProgressMonitor theMonitor,
java.util.Map<java.lang.String,java.lang.String> theParams)
|
boolean |
run(java.lang.String workFlowFile,
ProgressMonitor theMonitor,
java.util.Map<java.lang.String,java.lang.String> theParams,
java.util.Map<java.lang.String,?> externalSlotContents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowEngine
public WorkflowEngine()
run
public boolean run(java.lang.String workFlowFile,
ProgressMonitor theMonitor,
java.util.Map<java.lang.String,java.lang.String> theParams,
java.util.Map<java.lang.String,?> externalSlotContents)
- Parameters:
workFlowFile
- monitor
- logger
- params
-
prepare
public boolean prepare(java.lang.String workFlowFile,
ProgressMonitor theMonitor,
java.util.Map<java.lang.String,java.lang.String> theParams)
getWorkflowFactory
protected WorkflowFactory getWorkflowFactory()
- Creates a new workflow factory
getCustomConverters
protected java.util.Map<java.lang.Class<?>,Converter<?>> getCustomConverters()
- Returns a map of custom Converter implementations used for the injection process. If the result is
null
the default Converter implementations are used. It's not necessary to provide custom Converter
implementations for the default types since they will be added if they're missing (f.e. it might be useful to
support lists which are splitted using other characters than a comma).
- Returns:
- A map of custom Converter implementations. Maybe
null
.
executeWorkflow
public boolean executeWorkflow(java.util.Map<?,?> externalSlotContents,
Issues issues)
getContext
public WorkflowContext getContext()