com.ibm.rules.engine.runtime

Interface EngineOutput

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      EngineData getData()
      Returns the EngineData used by the Engine.
      java.lang.Object getParameter(java.lang.String name)
      Returns the value of a specific parameter.
      java.util.Map<java.lang.String,java.lang.Object> getParameters()
      Returns the values of all the parameters.
      java.lang.String getStopMessage()
      Returns the message given when the Engine has been stopped explicitly using the stop method.
      boolean isStopped()
      Tests if the Engine has been stopped explicitly using the stop method.
    • Method Detail

      • getData

        EngineData getData()
        Returns the EngineData used by the Engine. The content may have changed during Engine execution.
        Returns:
        The engine data.
      • isStopped

        boolean isStopped()
        Tests if the Engine has been stopped explicitly using the stop method.
        Returns:
        If the Engine has been stopped explicitly, true is returned.
        See Also:
        RunningEngine.stop(String)
      • getStopMessage

        java.lang.String getStopMessage()
        Returns the message given when the Engine has been stopped explicitly using the stop method. A message is returned only when isStopped() returns true.
        Returns:
        The message passed when the Engine is stopped explicitly. If the Engine has not been stopped explicitly, null is returned.
        See Also:
        RunningEngine.stop(String)
      • getParameter

        java.lang.Object getParameter(java.lang.String name)
        Returns the value of a specific parameter.
        Throws:
        java.lang.IllegalArgumentException - if there is no parameter with the given name
        Parameters:
        name - The name of the parameter to be returned.
        Returns:
        The value of the parameter.
        See Also:
        EngineData.get(String)
      • getParameters

        java.util.Map<java.lang.String,java.lang.Object> getParameters()
        Returns the values of all the parameters.
        Returns:
        The values of all the parameters. If there are no parameters, an empty Map is returned.
        See Also:
        EngineData.getAll()

© Copyright IBM Corp. 1987, 2017