1 /* Copyright (c) 2019 AT&T Intellectual Property. #
\r
3 # Licensed under the Apache License, Version 2.0 (the "License"); #
\r
4 # you may not use this file except in compliance with the License. #
\r
5 # You may obtain a copy of the License at #
\r
7 # http://www.apache.org/licenses/LICENSE-2.0 #
\r
9 # Unless required by applicable law or agreed to in writing, software #
\r
10 # distributed under the License is distributed on an "AS IS" BASIS, #
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
\r
12 # See the License for the specific language governing permissions and #
\r
13 # limitations under the License. #
\r
14 ##############################################################################*/
\r
17 export class DefinitionInstance {
\r
19 public bpmnFileId: String;
\r
20 public bpmnXml: any;
\r
21 public resourceFileId: String;
\r
22 public resourceFileName: String;
\r
23 public isDeployed: Boolean;
\r
24 public testHeads: TestHead[];
\r
25 public dataTestHeads: DataTestHead[];
\r
26 public testDataTemplate: String;
\r
27 public testDataTemplateJSON: any;
\r
28 public version: String;
\r
29 public bpmnHasChanged: Boolean;
\r
30 public pflos: Pflo[];
\r
33 this.testDataTemplate = '';
\r
35 this.testHeads = [];
\r
36 this.dataTestHeads = [];
\r
38 this.isDeployed = false;
\r
39 this.bpmnFileId = null;
\r
40 this.resourceFileName = null;
\r
41 this.bpmnXml = null;
\r
42 this.resourceFileId = null;
\r
43 this.bpmnHasChanged = false;
\r
48 interface TestHead {
\r
49 bpmnVthTaskId: String;
\r
53 interface DataTestHead extends TestHead {
\r
58 bpmnPfloTaskId: String;
\r