|
||||||||||
| 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.ExecuteAction
public class ExecuteAction
The ExecuteAction is a convenience IAction that permits the execution of an arbitrary Runnable class?s run method. When the ExecuteAction is fired, the class is instantiated and the reflection mechanism is used to get the run method and calls it.
| Field Summary | |
|---|---|
java.lang.String |
_className
Description of the Field |
| Constructor Summary | |
|---|---|
ExecuteAction()
Constructor for the ExecuteAction object |
|
ExecuteAction(java.lang.String className)
Constructor that takes the fully qualified class name of the Runnable class. |
|
| Method Summary | |
|---|---|
IAction |
bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
Bind is called during the creation of an instantiation of a produciton. |
double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method |
java.lang.String |
getClassName()
Gets the className attribute of the ExecuteAction object |
void |
setClassName(java.lang.String name)
Sets the className attribute of the ExecuteAction object |
| Methods inherited from class org.jactr.core.production.action.DefaultAction |
|---|
dispose, resolve |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String _className
| Constructor Detail |
|---|
public ExecuteAction(java.lang.String className)
className - Description of the Parameterpublic ExecuteAction()
| Method Detail |
|---|
public IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
IAction
public java.lang.String getClassName()
public void setClassName(java.lang.String name)
name - The new className value
public double fire(IInstantiation instantiation,
double firingTime)
fire in interface IActionfire in class DefaultActioninstantiation - 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 | |||||||||