org.drools.world.impl
Class WorldImpl
java.lang.Object
org.drools.world.impl.WorldImpl
- All Implemented Interfaces:
- org.drools.command.Context, GetDefaultValue, org.drools.command.World, org.drools.runtime.CommandExecutor
public class WorldImpl
- extends Object
- implements org.drools.command.World, GetDefaultValue, org.drools.runtime.CommandExecutor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorldImpl
public WorldImpl()
execute
public <T> T execute(org.drools.command.Command<T> command)
- Specified by:
execute in interface org.drools.runtime.CommandExecutor
setCommandExecutionHandler
public void setCommandExecutionHandler(WorldImpl.CommandExecutionHandler executionHandler)
createContext
public org.drools.command.Context createContext(String identifier)
getContext
public org.drools.command.Context getContext(String identifier)
- Specified by:
getContext in interface org.drools.command.World
getRootContext
public org.drools.command.Context getRootContext()
getLastReturnValue
public Object getLastReturnValue()
getObject
public Object getObject()
- Specified by:
getObject in interface GetDefaultValue
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 identifier)
- Specified by:
remove in interface org.drools.command.Context
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.