ILOG JRules

ilog.rules.ras.extractor
Class IlrAllRulesExtractor

java.lang.Object
  extended by ilog.rules.ras.extractor.IlrAllRulesExtractor
All Implemented Interfaces:
IlrExtractor

public class IlrAllRulesExtractor
extends Object
implements IlrExtractor

The extractor for the <all-rules> tag value of the scenario report.

The variable to use is: ALL_RULES.

The return type of this variable is: java.util.ArrayList<java.util.String>.


Field Summary
static String NAME
          The variable name.
 
Constructor Summary
IlrAllRulesExtractor()
           
 
Method Summary
 Object extractValue(IlrScenarioResponse report)
          Creates an operand for the extractor.
 String getName()
          Gets the name of the extractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The variable name.

See Also:
Constant Field Values
Constructor Detail

IlrAllRulesExtractor

public IlrAllRulesExtractor()
Method Detail

getName

public String getName()
Description copied from interface: IlrExtractor
Gets the name of the extractor. This value should be unique.

Specified by:
getName in interface IlrExtractor
Returns:
A string representing the name of the extractor.

extractValue

public Object extractValue(IlrScenarioResponse report)
                    throws IlrMalformedScenarioResultException
Description copied from interface: IlrExtractor
Creates an operand for the extractor.

Specified by:
extractValue in interface IlrExtractor
Throws:
IlrMalformedScenarioResultException
Parameters:
report - The scenario response which resulted from a ruleset execution.
Returns:
An object that will be used as the operand.

ILOG JRules