org.drools.core.world.impl
Class WorldImpl
java.lang.Object
org.drools.core.world.impl.WorldImpl
- All Implemented Interfaces:
- GetDefaultValue, org.kie.api.runtime.CommandExecutor, org.kie.internal.command.Context, org.kie.internal.command.World
public class WorldImpl
- extends Object
- implements org.kie.internal.command.World, GetDefaultValue, org.kie.api.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.kie.api.command.Command<T> command)
- Specified by:
execute in interface org.kie.api.runtime.CommandExecutor
setCommandExecutionHandler
public void setCommandExecutionHandler(WorldImpl.CommandExecutionHandler executionHandler)
createContext
public org.kie.internal.command.Context createContext(String identifier)
getContext
public org.kie.internal.command.Context getContext(String identifier)
- Specified by:
getContext in interface org.kie.internal.command.World
getRootContext
public org.kie.internal.command.Context getRootContext()
getLastReturnValue
public Object getLastReturnValue()
getObject
public Object getObject()
- Specified by:
getObject in interface GetDefaultValue
getContextManager
public org.kie.internal.command.World getContextManager()
- Specified by:
getContextManager in interface org.kie.internal.command.Context
getName
public String getName()
- Specified by:
getName in interface org.kie.internal.command.Context
get
public Object get(String identifier)
- Specified by:
get in interface org.kie.internal.command.Context
set
public void set(String identifier,
Object value)
- Specified by:
set in interface org.kie.internal.command.Context
remove
public void remove(String identifier)
- Specified by:
remove in interface org.kie.internal.command.Context
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.