public <T> Node<T> define(NodeOperations.Operation1<A,T> op)
op
- the node's operationpublic <T> Node<T> defineAsync(NodeOperations.Operation1<A,FluentFuture<T>> op)
op
- the node's operationpublic <B> Node.NodeBuilder2<A,B> withInput(Class<B> in)
The input is associated with an unqualified input key. This is the same as the
following:
builder.withInput(Key.of(input));
in
- the type of the inputpublic <B> Node.NodeBuilder2<A,B> withInput(TypeRef<B> in)
The input is associated with an unqualified input key. This is the same as the
following:
builder.withInput(Key.of(input));
in
- the type of the inputpublic <B> Node.NodeBuilder2<A,B> withInput(Key<B> in)
in
- the key for the inputpublic <B> Node.NodeBuilder2<A,B> dependingOn(Node<B> in)
in
- the node that provides the inputpublic <B> Node.NodeBuilder2<A,FluentFuture<B>> withAsyncInput(Class<B> in)
public <B> Node.NodeBuilder2<A,FluentFuture<B>> withAsyncInput(TypeRef<B> in)
public <B> Node.NodeBuilder2<A,FluentFuture<B>> withAsyncInput(Key<B> in)
public <B> Node.NodeBuilder2<A,FluentFuture<B>> dependingAsyncOn(Node<B> in)
public <B> Node.NodeBuilder2<A,Result<B,?>> withOptionalInput(Class<B> in)
public <B> Node.NodeBuilder2<A,Result<B,?>> withOptionalInput(TypeRef<B> in)
public <B> Node.NodeBuilder2<A,Result<B,?>> withOptionalInput(Key<B> in)
public <B> Node.NodeBuilder2<A,Result<B,?>> dependingOptionallyOn(Node<B> in)