-
- All Implemented Interfaces:
-
java.io.Serializable
public interface Action<T> implements Serializable
-
-
Method Summary
Modifier and Type Method Description abstract Action<T>
cloneAction(Node<T> node, Reaction<T> reaction)
This method allows to clone this action on a new node. abstract void
execute()
Effectively executes this action. abstract Context
getContext()
abstract ListSet<out Dependency>
getOutboundDependencies()
-
-
Method Detail
-
cloneAction
abstract Action<T> cloneAction(Node<T> node, Reaction<T> reaction)
This method allows to clone this action on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.
- Parameters:
node
- The node where to clone this Actionreaction
- The reaction to which the CURRENT action is assigned
-
execute
abstract void execute()
Effectively executes this action.
-
getContext
abstract Context getContext()
-
getOutboundDependencies
abstract ListSet<out Dependency> getOutboundDependencies()
-
-
-
-