66208a2cf464e85f3108dac79049a21a79142994
[sdc/sdc-workflow-designer.git] /
1 /**\r
2  * Copyright (c) 2018 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the Apache License, Version 2.0\r
5  * and the Eclipse Public License v1.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.externalservice.sdc.entity;\r
13 \r
14 import com.fasterxml.jackson.annotation.JsonProperty;\r
15 import com.google.gson.annotations.SerializedName;\r
16 \r
17 /**\r
18  *\r
19  */\r
20 public class ActivityContent {\r
21   @JsonProperty(value="class") // for dropwizard's Jackson\r
22   @SerializedName("class")  // for Gson\r
23   public String clazz;\r
24   \r
25   private String scriptFormat;\r
26   \r
27   private String script;\r
28 \r
29 \r
30   /**\r
31    * @return the scriptFormat\r
32    */\r
33   public String getScriptFormat() {\r
34     return scriptFormat;\r
35   }\r
36 \r
37   /**\r
38    * @param scriptFormat the scriptFormat to set\r
39    */\r
40   public void setScriptFormat(String scriptFormat) {\r
41     this.scriptFormat = scriptFormat;\r
42   }\r
43 \r
44   /**\r
45    * @return the script\r
46    */\r
47   public String getScript() {\r
48     return script;\r
49   }\r
50 \r
51   /**\r
52    * @param script the script to set\r
53    */\r
54   public void setScript(String script) {\r
55     this.script = script;\r
56   }\r
57   \r
58   \r
59 }\r