org.drools.reteoo
Class RuleRemovalContext
java.lang.Object
org.drools.reteoo.RuleRemovalContext
- All Implemented Interfaces:
- Externalizable, Serializable
public class RuleRemovalContext
- extends Object
- implements Externalizable
This context class is used during rule removal to ensure
network consistency.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleRemovalContext
public RuleRemovalContext(org.drools.definition.rule.Rule rule)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
getRule
public org.drools.definition.rule.Rule getRule()
- Returns the reference to the rule being removed from the kbase
- Returns:
setCleanupAdapter
public void setCleanupAdapter(RuleRemovalContext.CleanupAdapter cleanupAdapter)
getCleanupAdapter
public RuleRemovalContext.CleanupAdapter getCleanupAdapter()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.