Interface CodeGenNode.Builder

    • Method Detail

      • id

        CodeGenNode.Builder id​(String id)

        A node identifier that is unique within the node's graph.

        Parameters:
        id - A node identifier that is unique within the node's graph.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodeType

        CodeGenNode.Builder nodeType​(String nodeType)

        The type of node that this is.

        Parameters:
        nodeType - The type of node that this is.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • args

        CodeGenNode.Builder args​(Collection<CodeGenNodeArg> args)

        Properties of the node, in the form of name-value pairs.

        Parameters:
        args - Properties of the node, in the form of name-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • args

        CodeGenNode.Builder args​(CodeGenNodeArg... args)

        Properties of the node, in the form of name-value pairs.

        Parameters:
        args - Properties of the node, in the form of name-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lineNumber

        CodeGenNode.Builder lineNumber​(Integer lineNumber)

        The line number of the node.

        Parameters:
        lineNumber - The line number of the node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.