ilog.rules.factory

Class IlrScopeValue

  • All Implemented Interfaces:
    java.io.Serializable


    public class IlrScopeValue
    extends IlrValue
    Models a value that contains a task's scope. This value can only be used in a rule based task's body.
    Since:
    JRules6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • IlrScopeValue

        public IlrScopeValue(IlrReflect reflect,
                     IlrRuleTaskFactory task)
        Creates a value that models the access to the task's scope.
        Parameters:
        reflect - A reflect.
        task - The task whose scope is modelled by this value.
    • Method Detail

      • getTask

        public IlrRuleTaskFactory getTask()
        Returns the task whose scope is modelled by this value.
        Returns:
        The task on which the value is based.
      • exploreValue

        public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
        Explores this scope value using a factory explorer and returns an object as a result.
        Specified by:
        exploreValue in class IlrValue
        Parameters:
        explorer - The factory explorer.
        Returns:
        An object which represents the result of the exploration, or null if the method does not return a value.

© Copyright IBM Corp. 1987, 2017