2 * ===============================LICENSE_START======================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============================LICENSE_END===========================================
21 package org.openecomp.dcae.apod.analytics.cdap.common.settings;
23 import co.cask.cdap.api.Config;
24 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
27 * Base class for all DACE Analytics Application Configurations
29 * @author Rajiv Singla . Creation Date: 10/4/2016.
31 public abstract class CDAPBaseAppConfig extends Config implements CDAPAppConfig {
35 * DCAE Analytics App Name
37 protected String appName = CDAPComponentsConstants.COMMON_DEFAULT_DCAE_CDAP_NAME_APP;
40 * DCAE Analytics App Description
42 protected String appDescription = CDAPComponentsConstants.COMMON_DEFAULT_DCAE_CDAP_DESCRIPTION_APP;
46 * Returns DCAE Analytics CDAP Application name
48 * @return CDAP application name
51 public String getAppName() {
56 * Returns DCAE Analytics CDAP Application descrption
58 * @return CDAP application description
61 public String getAppDescription() {
62 return appDescription;