ilog.rules.brl.brldf

Interface BRLVariableManager

  • All Known Implementing Classes:
    IlrBRLDefaultVariableProvider


    public interface BRLVariableManager
    This interface specifies the contract of a class designed to manage a set of Variable. Such interface can be used in complement to a Variable Provider contract to handle the event part of variable management. Implementers of this interface are supposed to handle a list of listener and publish event when a Variable is added or removed in the context of this manager.
    • Field Detail

      • VARIABLE_ADDED

        static final int VARIABLE_ADDED
        Event type specifying that a variable has been added to this manager
        See Also:
        Constant Field Values
      • VARIABLE_REMOVED

        static final int VARIABLE_REMOVED
        Event type specifying that a variable has been removed from this manager
        See Also:
        Constant Field Values
      • VARIABLE_CLEARED

        static final int VARIABLE_CLEARED
        Event type specifying that all variables handled by this manager has been removed
        See Also:
        Constant Field Values
    • Method Detail

      • addChangeListener

        void addChangeListener(BRLVariableManager.VariablesListener listener)
        This method registers the given listener to this manager.
        Parameters:
        listener - the listener to be notified by this manager .
      • removeChangeListener

        void removeChangeListener(BRLVariableManager.VariablesListener listener)
        This method un-registers the given listener from this manager.
        Parameters:
        listener - the listener to be removed from the list of listeners handled by this manager.

© Copyright IBM Corp. 1987, 2017