Package it.unibo.alchemist.model.actions
Class RemoveNode
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class RemoveNode<T> extends AbstractAction<T>
Removes the current node from the environment.
-
-
Constructor Summary
Constructors Constructor Description RemoveNode(Environment<T, out Object> environment, Node<T> node)
-
Method Summary
Modifier and Type Method Description Context
getContext()
void
execute()
String
toString()
RemoveNode<T>
cloneAction(Node<T> node, Reaction<T> reaction)
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies
-
Methods inherited from class it.unibo.alchemist.model.Action
getOutboundDependencies
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RemoveNode
RemoveNode(Environment<T, out Object> environment, Node<T> node)
- Parameters:
environment
- the current environmentnode
- the node for this action
-
-
Method Detail
-
getContext
Context getContext()
-
execute
void execute()
-
cloneAction
RemoveNode<T> cloneAction(Node<T> node, Reaction<T> reaction)
-
-
-
-