Class WorkflowEngine

java.lang.Object
org.eclipse.emf.mwe.core.WorkflowEngine

public class WorkflowEngine extends Object
  • Constructor Details

    • WorkflowEngine

      public WorkflowEngine()
  • Method Details

    • run

      public boolean run(String workFlowFile, ProgressMonitor theMonitor, Map<String,String> theParams, Map<String,?> externalSlotContents)
      Parameters:
      workFlowFile -
      theMonitor -
      externalSlotContents -
      theParams -
    • prepare

      public boolean prepare(String workFlowFile, ProgressMonitor theMonitor, Map<String,String> theParams)
    • getWorkflowFactory

      protected WorkflowFactory getWorkflowFactory()
      Creates a new workflow factory
    • getCustomConverters

      protected Map<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(Map<?,?> externalSlotContents, Issues issues)
    • getContext

      public WorkflowContext getContext()