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 org.hibernate.validator.constraints.NotEmpty;
17 import com.fasterxml.jackson.annotation.JsonProperty;
19 import io.dropwizard.Configuration;
21 public class WorkflowDesignerConfiguration extends Configuration {
23 private String template;
26 private String defaultName = "Workflow Designer";
29 private String msbServerAddr;
32 private SDCServiceProxyInfo sdcServiceProxy;
35 public String getTemplate() {
40 public void setTemplate(String template) {
41 this.template = template;
45 public String getDefaultName() {
50 public void setDefaultName(String name) {
51 this.defaultName = name;
55 public String getMsbServerAddr() {
60 public void setMsbServerAddr(String msbServerAddr) {
61 this.msbServerAddr = msbServerAddr;
65 * @return the sdcServiceProxy
68 public SDCServiceProxyInfo getSdcServiceProxy() {
69 return sdcServiceProxy;
73 * @param sdcServiceProxy the sdcServiceProxy to set
76 public void setSdcServiceProxy(SDCServiceProxyInfo sdcServiceProxy) {
77 this.sdcServiceProxy = sdcServiceProxy;