|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.production.action.DefaultAction
org.jactr.core.production.action.AddAction
org.jactr.core.production.action.ProxyAction
public class ProxyAction
| Constructor Summary | |
|---|---|
ProxyAction(java.lang.Class<? extends IAction> proxyClass)
|
|
ProxyAction(java.lang.String className)
|
|
| Method Summary | |
|---|---|
void |
addSlot(ISlot slot)
In addition to adding chunks to a buffer, the IChunk?s slot values can be changed at the same time. |
IAction |
bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
Bind is called during the creation of an instantiation of a produciton. |
void |
dispose()
Description of the Method |
double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method |
IAction |
getDelegate()
|
java.lang.String |
getDelegateClassName()
|
void |
removeSlot(ISlot slot)
Remove a specific slot from the addaction. |
void |
setDelegateClass(java.lang.Class<? extends IAction> proxyClass)
|
void |
setDelegateClassName(java.lang.String name)
|
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class org.jactr.core.production.action.AddAction |
|---|
getBufferName, getChunk, getChunkName, getChunkType, getReferant, getSlots, getSlots, setBufferName, setChunk, setChunkName, setChunkType, setReferant |
| Methods inherited from class org.jactr.core.production.action.DefaultAction |
|---|
resolve |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyAction(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public ProxyAction(java.lang.Class<? extends IAction> proxyClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException| Method Detail |
|---|
public IAction getDelegate()
public void addSlot(ISlot slot)
AddAction
addSlot in interface ISlotContaineraddSlot in class AddActionslot - The feature to be added to the ISlot attributepublic void removeSlot(ISlot slot)
AddAction
removeSlot in interface ISlotContainerremoveSlot in class AddActionslot - Description of Parameterpublic void dispose()
AddAction
dispose in interface IActiondispose in class AddActionpublic java.lang.String getDelegateClassName()
public void setDelegateClassName(java.lang.String name)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public void setDelegateClass(java.lang.Class<? extends IAction> proxyClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessExceptionpublic java.lang.String toString()
AddAction
toString in class AddAction
public IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
throws CannotInstantiateException
IAction
bind in interface IActionbind in class AddActionCannotInstantiateException
public double fire(IInstantiation instantiation,
double firingTime)
DefaultAction
fire in interface IActionfire in class AddActioninstantiation - Description of the ParameterfiringTime - when this production was fired
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||