com.ibm.rules.engine.runtime

Interface EngineInput

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      EngineData getData()
      Returns the EngineData.
      void resetParameters()
      Reset the parameters to their initial values.
      void setParameter(java.lang.String name, java.lang.Object value)
      Sets the value of a specific parameter.
      void setParameters(java.util.Map<java.lang.String,java.lang.Object> map)
      Sets the values for a number of parameters.
    • Method Detail

      • getData

        EngineData getData()
        Returns the EngineData. This content may be changed before Engine execution.
        Returns:
        The EngineData.
      • setParameter

        void setParameter(java.lang.String name,
                        java.lang.Object value)
        Sets the value of a specific parameter.
        Throws:
        java.lang.IllegalArgumentException - if there is no parameter with the given name
        Parameters:
        name - The key of the parameter to be updated.
        value - The new value of the field.
      • setParameters

        void setParameters(java.util.Map<java.lang.String,java.lang.Object> map)
        Sets the values for a number of parameters. If a key in map is not a parameter key, it is ignored.
        Throws:
        java.lang.IllegalArgumentException - if one of the key from the map is not a parameter name.
        Parameters:
        map - A Map of associated parameter keys and values.
      • resetParameters

        void resetParameters()
        Reset the parameters to their initial values.

© Copyright IBM Corp. 1987, 2017