Rule Execution Server API

ilog.rules.factory
Class IlrScopeValue

java.lang.Object
  extended by ilog.rules.factory.IlrValue
      extended by ilog.rules.factory.IlrScopeValue
All Implemented Interfaces:
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 Summary
IlrScopeValue(IlrReflect reflect, IlrRuleTaskFactory task)
          Creates a value that models the access to the task's scope.
 
Method Summary
 Object exploreValue(IlrFactoryExplorer explorer)
          Explores this scope value using a factory explorer and returns an object as a result.
 IlrRuleTaskFactory getTask()
          Returns the task whose scope is modelled by this value.
 
Methods inherited from class ilog.rules.factory.IlrValue
add, divide, getField, getReflect, getType, getXOMType, invokeEquals, isConstant, isEvent, isEventCondition, isNull, multiply, remainder, subtract, testAfter, testAfter, testBefore, testBefore, testEqual, testFalse, testGreaterOrEqual, testGreaterThan, testIn, testInstanceOf, testLessOrEqual, testLessThan, testNotEqual, testNotIn, testOccursin, testTrue, timeof, toNegative, toPositive, toPostfixDecr, toPostfixIncr, toPrefixDecr, toPrefixIncr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013