org.drools.rule
Class ApplicationData

java.lang.Object
  extended by org.drools.rule.ApplicationData
All Implemented Interfaces:
java.io.Serializable

public class ApplicationData
extends java.lang.Object
implements java.io.Serializable

ApplicationData allows data to be made accessible to Conditions and Consequences without the need to assert the data. ApplicationData name and type must be declared to a RuleBase before it can set in a WorkingMemory otherwise a RuntimeException will occur.

See Also:
Serialized Form
 

Constructor Summary
ApplicationData(RuleSet ruleSet, java.lang.String identifier, java.lang.Class type)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 java.lang.Class getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationData

public ApplicationData(RuleSet ruleSet,
                       java.lang.String identifier,
                       java.lang.Class type)
Method Detail

getIdentifier

public java.lang.String getIdentifier()

getType

public java.lang.Class getType()