org.drools.command.impl
Class FixedKnowledgeCommandContext

java.lang.Object
  extended by org.drools.command.impl.FixedKnowledgeCommandContext
All Implemented Interfaces:
org.drools.command.Context, KnowledgeCommandContext

public class FixedKnowledgeCommandContext
extends Object
implements KnowledgeCommandContext


Constructor Summary
FixedKnowledgeCommandContext(org.drools.command.Context context, org.drools.builder.KnowledgeBuilder kbuilder, org.drools.KnowledgeBase kbase, org.drools.runtime.StatefulKnowledgeSession statefulKsession, org.drools.runtime.ExecutionResults kresults)
           
FixedKnowledgeCommandContext(org.drools.command.Context context, org.drools.builder.KnowledgeBuilder kbuilder, org.drools.KnowledgeBase kbase, org.drools.runtime.StatefulKnowledgeSession statefulKsession, org.drools.runtime.rule.WorkingMemoryEntryPoint workingMemoryEntryPoint, org.drools.runtime.ExecutionResults kresults)
           
 
Method Summary
 Object get(String identifier)
           
 org.drools.command.World getContextManager()
           
 org.drools.runtime.ExecutionResults getExecutionResults()
           
 org.drools.KnowledgeBase getKbase()
           
 org.drools.KnowledgeBase getKnowledgeBase()
           
 org.drools.builder.KnowledgeBuilder getKnowledgeBuilder()
           
 String getName()
           
 org.drools.runtime.StatefulKnowledgeSession getStatefulKnowledgesession()
           
 org.drools.runtime.StatefulKnowledgeSession getStatefulKsession()
           
 org.drools.runtime.rule.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint()
           
 org.drools.runtime.process.WorkItemManager getWorkItemManager()
           
 void remove(String name)
           
 void set(String identifier, Object value)
           
 void setKbase(org.drools.KnowledgeBase kbase)
           
 void setKnowledgeBuilder(org.drools.builder.KnowledgeBuilder kbuilder)
           
 void setStatefulKsession(org.drools.runtime.StatefulKnowledgeSession statefulKsession)
           
 void setWorkingMemoryEntryPoint(org.drools.runtime.rule.WorkingMemoryEntryPoint workingMemoryEntryPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedKnowledgeCommandContext

public FixedKnowledgeCommandContext(org.drools.command.Context context,
                                    org.drools.builder.KnowledgeBuilder kbuilder,
                                    org.drools.KnowledgeBase kbase,
                                    org.drools.runtime.StatefulKnowledgeSession statefulKsession,
                                    org.drools.runtime.ExecutionResults kresults)

FixedKnowledgeCommandContext

public FixedKnowledgeCommandContext(org.drools.command.Context context,
                                    org.drools.builder.KnowledgeBuilder kbuilder,
                                    org.drools.KnowledgeBase kbase,
                                    org.drools.runtime.StatefulKnowledgeSession statefulKsession,
                                    org.drools.runtime.rule.WorkingMemoryEntryPoint workingMemoryEntryPoint,
                                    org.drools.runtime.ExecutionResults kresults)
Method Detail

getKnowledgeBuilder

public org.drools.builder.KnowledgeBuilder getKnowledgeBuilder()
Specified by:
getKnowledgeBuilder in interface KnowledgeCommandContext

getKnowledgeBase

public org.drools.KnowledgeBase getKnowledgeBase()
Specified by:
getKnowledgeBase in interface KnowledgeCommandContext

getStatefulKnowledgesession

public org.drools.runtime.StatefulKnowledgeSession getStatefulKnowledgesession()
Specified by:
getStatefulKnowledgesession in interface KnowledgeCommandContext

getWorkItemManager

public org.drools.runtime.process.WorkItemManager getWorkItemManager()
Specified by:
getWorkItemManager in interface KnowledgeCommandContext

getExecutionResults

public org.drools.runtime.ExecutionResults getExecutionResults()
Specified by:
getExecutionResults in interface KnowledgeCommandContext

getWorkingMemoryEntryPoint

public org.drools.runtime.rule.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint()
Specified by:
getWorkingMemoryEntryPoint in interface KnowledgeCommandContext

setWorkingMemoryEntryPoint

public void setWorkingMemoryEntryPoint(org.drools.runtime.rule.WorkingMemoryEntryPoint workingMemoryEntryPoint)

setKnowledgeBuilder

public void setKnowledgeBuilder(org.drools.builder.KnowledgeBuilder kbuilder)
Specified by:
setKnowledgeBuilder in interface KnowledgeCommandContext

getKbase

public org.drools.KnowledgeBase getKbase()

setKbase

public void setKbase(org.drools.KnowledgeBase kbase)

getStatefulKsession

public org.drools.runtime.StatefulKnowledgeSession getStatefulKsession()

setStatefulKsession

public void setStatefulKsession(org.drools.runtime.StatefulKnowledgeSession statefulKsession)

getContextManager

public org.drools.command.World getContextManager()
Specified by:
getContextManager in interface org.drools.command.Context

getName

public String getName()
Specified by:
getName in interface org.drools.command.Context

get

public Object get(String identifier)
Specified by:
get in interface org.drools.command.Context

set

public void set(String identifier,
                Object value)
Specified by:
set in interface org.drools.command.Context

remove

public void remove(String name)
Specified by:
remove in interface org.drools.command.Context


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.