public class RuleRemovalContext extends Object implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleRemovalContext.CleanupAdapter |
| Constructor and Description |
|---|
RuleRemovalContext(org.kie.api.definition.rule.Rule rule) |
| Modifier and Type | Method and Description |
|---|---|
RuleRemovalContext.CleanupAdapter |
getCleanupAdapter() |
InternalKnowledgeBase |
getKnowledgeBase() |
org.kie.api.definition.rule.Rule |
getRule()
Returns the reference to the rule being removed from the kbase
|
void |
readExternal(ObjectInput in) |
void |
setCleanupAdapter(RuleRemovalContext.CleanupAdapter cleanupAdapter) |
void |
setKnowledgeBase(InternalKnowledgeBase kBase) |
void |
writeExternal(ObjectOutput out) |
public RuleRemovalContext(org.kie.api.definition.rule.Rule rule)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic org.kie.api.definition.rule.Rule getRule()
public void setCleanupAdapter(RuleRemovalContext.CleanupAdapter cleanupAdapter)
public RuleRemovalContext.CleanupAdapter getCleanupAdapter()
public InternalKnowledgeBase getKnowledgeBase()
public void setKnowledgeBase(InternalKnowledgeBase kBase)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.