2 * ===============================LICENSE_START======================================
\r
4 * ================================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============================LICENSE_END===========================================
\r
21 package org.openecomp.dcae.apod.analytics.cdap.plugins.domain.config.dmaap;
\r
23 import javax.annotation.Nullable;
\r
26 * Test {@link DMaaPMRSourcePluginConfig} for testing purposes only
\r
28 * @author Rajiv Singla . Creation Date: 1/23/2017.
\r
30 public class TestDMaaPMRSourcePluginConfig extends DMaaPMRSourcePluginConfig {
\r
32 public void setReferenceName(String referenceName) {
\r
33 this.referenceName = referenceName;
\r
36 public void setHostName(String hostName) {
\r
37 this.hostName = hostName;
\r
40 public void setPortNumber(@Nullable Integer portNumber) {
\r
41 this.portNumber = portNumber;
\r
44 public void setTopicName(String topicName) {
\r
45 this.topicName = topicName;
\r
48 public void setPollingInterval(Integer pollingInterval) {
\r
49 this.pollingInterval = pollingInterval;
\r
52 public void setProtocol(@Nullable String protocol) {
\r
53 this.protocol = protocol;
\r
56 public void setUserName(@Nullable String userName) {
\r
57 this.userName = userName;
\r
60 public void setUserPassword(@Nullable String userPassword) {
\r
61 this.userPassword = userPassword;
\r
64 public void setContentType(@Nullable String contentType) {
\r
65 this.contentType = contentType;
\r
68 public void setConsumerId(@Nullable String consumerId) {
\r
69 this.consumerId = consumerId;
\r
72 public void setConsumerGroup(@Nullable String consumerGroup) {
\r
73 this.consumerGroup = consumerGroup;
\r
76 public void setTimeoutMS(@Nullable Integer timeoutMS) {
\r
77 this.timeoutMS = timeoutMS;
\r
80 public void setMessageLimit(@Nullable Integer messageLimit) {
\r
81 this.messageLimit = messageLimit;
\r