2 * Copyright (c) 2017-2018 ZTE Corporation.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the Apache License, Version 2.0
5 * and the Eclipse Public License v1.0 which both accompany this distribution,
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
7 * and http://www.apache.org/licenses/LICENSE-2.0
10 * ZTE - initial API and implementation and/or initial documentation
13 package org.onap.sdc.workflowdesigner;
15 import javax.validation.constraints.NotNull;
17 import com.fasterxml.jackson.annotation.JsonProperty;
19 import io.dropwizard.Configuration;
21 public class WorkflowDesignerConfiguration extends Configuration {
22 private String template;
24 private String defaultName = "Workflow Designer";
26 private String adapterType;
29 private SDCServiceProxyInfo sdcServiceProxy;
32 private ActivitySpecServiceProxyInfo activitySpecServiceProxy;
36 public String getTemplate() {
41 public void setTemplate(String template) {
42 this.template = template;
46 public String getDefaultName() {
51 public void setDefaultName(String name) {
52 this.defaultName = name;
56 * @return the adapterType
59 public String getAdapterType() {
64 * @param adapterType the adapterType to set
67 public void setAdapterType(String adapterType) {
68 this.adapterType = adapterType;
72 * @return the sdcServiceProxy
75 public SDCServiceProxyInfo getSdcServiceProxy() {
76 return sdcServiceProxy;
80 * @param sdcServiceProxy the sdcServiceProxy to set
83 public void setSdcServiceProxy(SDCServiceProxyInfo sdcServiceProxy) {
84 this.sdcServiceProxy = sdcServiceProxy;
88 * @return the activitySpecServiceProxy
91 public ActivitySpecServiceProxyInfo getActivitySpecServiceProxy() {
92 return activitySpecServiceProxy;
96 * @param activitySpecServiceProxy the activitySpecServiceProxy to set
99 public void setActivitySpecServiceProxy(ActivitySpecServiceProxyInfo activitySpecServiceProxy) {
100 this.activitySpecServiceProxy = activitySpecServiceProxy;