aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2018-01-10 15:05:39 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2018-01-10 15:05:39 +0800
commit38dfd59a8b5d05266e5567f79dcf30fd10ef7c54 (patch)
tree043a724663d3324ce80cc546a241898e99796897 /sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts
parenteb2d1c385e5c3d96e770b776f74ddbde9f2b133f (diff)
split element by type
split elements by type in toolbar Issue-ID: SDC-895 Change-Id: I0254c9c5f938df80942d60ffefe4b8577c788233 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts')
-rw-r--r--sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts b/sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts
new file mode 100644
index 00000000..986f0188
--- /dev/null
+++ b/sdc-workflow-designer-ui/src/app/model/workflow/tosca-node-task.ts
@@ -0,0 +1,22 @@
+/**
+ * Copyright (c) 2017 ZTE Corporation.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and the Apache License 2.0 which both accompany this distribution,
+ * and are available at http://www.eclipse.org/legal/epl-v10.html
+ * and http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Contributors:
+ * ZTE - initial API and implementation and/or initial documentation
+ */
+import { NodeTemplate } from '../topology/node-template';
+import { Parameter } from './parameter';
+import { WorkflowNode } from './workflow-node';
+
+export interface ToscaNodeTask extends WorkflowNode {
+ input?: Parameter[];
+ output?: Parameter[];
+ nodeInterface?: string;
+ operation?: string;
+ template?: NodeTemplate;
+}