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
10 * ZTE - initial API and implementation and/or initial documentation
\r
12 package org.onap.sdc.workflowdesigner.externalservice.sdc.entity;
\r
14 import com.fasterxml.jackson.annotation.JsonProperty;
\r
15 import com.google.gson.annotations.SerializedName;
\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
25 private String scriptFormat;
\r
27 private String script;
\r
31 * @return the scriptFormat
\r
33 public String getScriptFormat() {
\r
34 return scriptFormat;
\r
38 * @param scriptFormat the scriptFormat to set
\r
40 public void setScriptFormat(String scriptFormat) {
\r
41 this.scriptFormat = scriptFormat;
\r
45 * @return the script
\r
47 public String getScript() {
\r
52 * @param script the script to set
\r
54 public void setScript(String script) {
\r
55 this.script = script;
\r