结构节点基础文件(Structure of the node base file)#
节点基础文件遵循以下基本结构:
🌐 The node base file follows this basic structure:
- 添加导入语句
- 创建节点类
- 在节点类中,创建一个
description对象,它定义了该节点。
编程式节点也有一个 execute() 方法,它用来读取传入的数据和参数,然后构建请求。声明式风格通过在 descriptions 中的 properties 对象中使用 routing 键来处理这一点。
🌐 A programmatic-style node also has an execute() method, which reads incoming data and parameters, then builds a request. The declarative style handles this using the routing key in the properties object, within descriptions.
声明式节点的结构概要(Outline structure for a declarative-style node)#
此代码片段概述了节点结构。
🌐 This code snippet gives an outline of the node structure.
1 2 3 4 5 6 7 8 9 10 | |
程序式节点的结构概要(Outline structure for a programmatic-style node)#
此代码片段概述了节点结构。
🌐 This code snippet gives an outline of the node structure.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
有关所有节点类型可用的参数信息,请参阅标准参数。有关使用编程式节点的更多信息,请参阅编程式参数和编程式执行方法。
🌐 Refer to Standard parameters for information on parameters available to all node types. Refer to Programmatic-style parameters and Programmatic-style execute method for more information on working with programmatic-style nodes.