TriggerLauncher 触发器启动器
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface TriggerLauncher {
"concept": "TriggerLauncher" | "MsgTriggerLauncher", // 产品概念
"name": string, // 触发器启动器名称
"calleeNamespace": string, // calleeNamespace
"calleeName": string, // calleeName
"callBackLogic": Identifier, // callBackLogic
}
class TriggerLauncherTreeNode {
ConceptEnum concept; // 产品概念
String name; // 触发器启动器名称
String calleeNamespace; // calleeNamespace
String calleeName; // calleeName
Object callBackLogic; // callBackLogic
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/TriggerLauncher",
"definitions": {
"TriggerLauncher": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"enum": [
"TriggerLauncher",
"MsgTriggerLauncher"
]
},
"name": {
"type": "string"
},
"calleeNamespace": {
"type": "string"
},
"calleeName": {
"type": "string"
},
"callBackLogic": {
"$ref": "#/definitions/Identifier"
}
},
"required": [
"concept",
"name",
"calleeNamespace",
"calleeName",
"callBackLogic"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "TriggerLauncher",
"name": "String",
"calleeNamespace": "String",
"calleeName": "String",
"callBackLogic": null
}
concept: TriggerLauncher
name: String
calleeNamespace: String
calleeName: String
callBackLogic: null