@Retention(value=CLASS) @Target(value=TYPE) @Repeatable(value=NodeChildren.class) public @interface NodeChild
NodeChild
element defines an executable child for the enclosing Node
. A
Node
contains multiple NodeChildren
specified in linear execution order.Modifier and Type | Optional Element and Description |
---|---|
String[] |
executeWith
The
NodeChild.executeWith() property allows a node to pass the result of one child's
executable as an input to another child's executable. |
Class<?> |
type |
String |
value |
public abstract String value
public abstract Class<?> type
public abstract String[] executeWith
NodeChild.executeWith()
property allows a node to pass the result of one child's
executable as an input to another child's executable. These referenced children must be
defined before the current node in the execution order. The current node NodeChild.type()
attribute must be set to a Node
which supports the evaluated execution with the
number of NodeChild.executeWith()
arguments that are defined. For example if this child is
executed with one argument, the NodeChild.type()
attribute must define a node which publicly
declares a method with the signature Object execute*(VirtualFrame, Object)
.