public interface NodeFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
createNode(java.lang.Object... arguments)
Instantiates the node using the arguments array.
|
java.util.List<java.lang.Class<? extends Node>> |
getExecutionSignature()
Returns a list of children that will be executed by the created node.
|
java.lang.Class<T> |
getNodeClass()
Returns the node class that will get created by
createNode(Object...). |
java.util.List<java.util.List<java.lang.Class<?>>> |
getNodeSignatures()
Returns a list of signatures that can be used to invoke
createNode(Object...). |
T createNode(java.lang.Object... arguments)
getNodeSignatures(). If the arguments array does
not suffice one of the node signatures an IllegalArgumentException is thrown.arguments - the argument valuesjava.lang.IllegalArgumentExceptionjava.lang.Class<T> getNodeClass()
createNode(Object...). The node
class does not match exactly to the instantiated object but they are guaranteed to be
assignable.java.util.List<java.util.List<java.lang.Class<?>>> getNodeSignatures()
createNode(Object...).java.util.List<java.lang.Class<? extends Node>> getExecutionSignature()