Rule Execution Server API

ilog.rules.factory
Class IlrUnaryTest

java.lang.Object
  extended by ilog.rules.factory.IlrBaseTest
      extended by ilog.rules.factory.IlrUnaryTest
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrTest, Serializable

public class IlrUnaryTest
extends IlrBaseTest

This class represents a unary test of the rule language. A unary test states that its argument value is true.

Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

See Also:
Serialized Form

Constructor Summary
IlrUnaryTest(IlrValue argument)
          Constructs a unary test.
 
Method Summary
 Object exploreTest(IlrFactoryExplorer explorer)
          Explores the unary test using a factory explorer and returns an object as a result.
 IlrValue getArgument()
          Gets the value argument of this test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrUnaryTest

public IlrUnaryTest(IlrValue argument)
Constructs a unary test. This test means that the passed value is tested to be the boolean value true.

Parameters:
argument - The value to be tested to true.
Method Detail

getArgument

public final IlrValue getArgument()
Gets the value argument of this test.

Returns:
A value.

exploreTest

public Object exploreTest(IlrFactoryExplorer explorer)
Explores the unary test using a factory explorer and returns an object as a result.

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