com.ibm.rules.engine.ruleflow.runtime

Interface RuleflowEngineDefinition

  • All Superinterfaces:
    EngineDefinition, EngineServices


    public interface RuleflowEngineDefinition
    extends EngineDefinition
    Use an RuleflowEngineDefinition instance to create RuleflowEngine instances and to access Task definitions.
    • Method Detail

      • createEngine

        RuleflowEngine createEngine(EngineService... services)
        Creates a RuleflowEngine.
        Specified by:
        createEngine in interface EngineDefinition
        Parameters:
        services - EngineServices to be used by the new engine. This overrides the default EngineServices in the engine definition.
        Returns:
        A new RuleflowEngine.
      • getTasks

        java.util.List<Task> getTasks()
        Returns the Task objects for this RuleflowEngine.
        Returns:
        The tasks. If no Task objects are present, an empty list is returned.
      • getTask

        Task getTask(java.lang.String taskName)
        Returns a specific Task.
        Parameters:
        taskName - The name of the Task to be returned.
        Returns:
        The task that matches taskName. If a task matching this name does not exist, null is returned.
      • getMainTask

        Task getMainTask()
        Returns the ruleflow engine definition main Task. Note that it is immutable.
        Returns:
        The main task

© Copyright IBM Corp. 1987, 2017