diff options
Diffstat (limited to 'services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java')
-rw-r--r-- | services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java | 301 |
1 files changed, 4 insertions, 297 deletions
diff --git a/services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java b/services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java index d7a502c7f..b23acdd01 100644 --- a/services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java +++ b/services/services-engine/src/test/java/org/onap/policy/apex/service/engine/parameters/dummyclasses/SuperDooperCarrierTechnologyParameters.java @@ -24,6 +24,8 @@ package org.onap.policy.apex.service.engine.parameters.dummyclasses; import java.util.Arrays; import java.util.Collection; import java.util.Properties; +import lombok.Getter; +import lombok.Setter; import org.apache.commons.lang3.StringUtils; import org.onap.policy.apex.service.parameters.carriertechnology.CarrierTechnologyParameters; import org.onap.policy.common.parameters.BeanValidationResult; @@ -40,6 +42,8 @@ import org.onap.policy.models.base.Validated; */ @NotNull @NotBlank +@Getter +@Setter public class SuperDooperCarrierTechnologyParameters extends CarrierTechnologyParameters { // Default parameter values private static final String DEFAULT_ACKS = "all"; @@ -150,114 +154,6 @@ public class SuperDooperCarrierTechnologyParameters extends CarrierTechnologyPar } /** - * Gets the bootstrap servers. - * - * @return the bootstrap servers - */ - public String getBootstrapServers() { - return bootstrapServers; - } - - /** - * Gets the acks. - * - * @return the acks - */ - public String getAcks() { - return acks; - } - - /** - * Gets the retries. - * - * @return the retries - */ - public int getRetries() { - return retries; - } - - /** - * Gets the batch size. - * - * @return the batch size - */ - public int getBatchSize() { - return batchSize; - } - - /** - * Gets the linger time. - * - * @return the linger time - */ - public int getLingerTime() { - return lingerTime; - } - - /** - * Gets the buffer memory. - * - * @return the buffer memory - */ - public long getBufferMemory() { - return bufferMemory; - } - - /** - * Gets the group id. - * - * @return the group id - */ - public String getGroupId() { - return groupId; - } - - /** - * Checks if is enable auto commit. - * - * @return true, if checks if is enable auto commit - */ - public boolean isEnableAutoCommit() { - return enableAutoCommit; - } - - /** - * Gets the auto commit time. - * - * @return the auto commit time - */ - public int getAutoCommitTime() { - return autoCommitTime; - } - - /** - * Gets the session timeout. - * - * @return the session timeout - */ - public int getSessionTimeout() { - return sessionTimeout; - } - - /** - * Gets the producer topic. - * - * @return the producer topic - */ - public String getProducerTopic() { - return producerTopic; - } - - /** - * Gets the consumer poll time. - * - * @return the consumer poll time - */ - public long getConsumerPollTime() { - return consumerPollTime; - } - - /** * Gets the consumer topic list. * * @return the consumer topic list @@ -267,195 +163,6 @@ public class SuperDooperCarrierTechnologyParameters extends CarrierTechnologyPar } /** - * Gets the key serializer. - * - * @return the key serializer - */ - public String getKeySerializer() { - return keySerializer; - } - - /** - * Gets the value serializer. - * - * @return the value serializer - */ - public String getValueSerializer() { - return valueSerializer; - } - - /** - * Gets the key deserializer. - * - * @return the key deserializer - */ - public String getKeyDeserializer() { - return keyDeserializer; - } - - /** - * Gets the value deserializer. - * - * @return the value deserializer - */ - public String getValueDeserializer() { - return valueDeserializer; - } - - /** - * Sets the bootstrap servers. - * - * @param bootstrapServers the new bootstrap servers - */ - public void setBootstrapServers(String bootstrapServers) { - this.bootstrapServers = bootstrapServers; - } - - /** - * Sets the acks. - * - * @param acks the new acks - */ - public void setAcks(String acks) { - this.acks = acks; - } - - /** - * Sets the retries. - * - * @param retries the new retries - */ - public void setRetries(int retries) { - this.retries = retries; - } - - /** - * Sets the batch size. - * - * @param batchSize the new batch size - */ - public void setBatchSize(int batchSize) { - this.batchSize = batchSize; - } - - /** - * Sets the linger time. - * - * @param lingerTime the new linger time - */ - public void setLingerTime(int lingerTime) { - this.lingerTime = lingerTime; - } - - /** - * Sets the buffer memory. - * - * @param bufferMemory the new buffer memory - */ - public void setBufferMemory(long bufferMemory) { - this.bufferMemory = bufferMemory; - } - - /** - * Sets the group id. - * - * @param groupId the new group id - */ - public void setGroupId(String groupId) { - this.groupId = groupId; - } - - /** - * Sets the enable auto commit. - * - * @param enableAutoCommit the new enable auto commit - */ - public void setEnableAutoCommit(boolean enableAutoCommit) { - this.enableAutoCommit = enableAutoCommit; - } - - /** - * Sets the auto commit time. - * - * @param autoCommitTime the new auto commit time - */ - public void setAutoCommitTime(int autoCommitTime) { - this.autoCommitTime = autoCommitTime; - } - - /** - * Sets the session timeout. - * - * @param sessionTimeout the new session timeout - */ - public void setSessionTimeout(int sessionTimeout) { - this.sessionTimeout = sessionTimeout; - } - - /** - * Sets the producer topic. - * - * @param producerTopic the new producer topic - */ - public void setProducerTopic(String producerTopic) { - this.producerTopic = producerTopic; - } - - /** - * Sets the consumer poll time. - * - * @param consumerPollTime the new consumer poll time - */ - public void setConsumerPollTime(int consumerPollTime) { - this.consumerPollTime = consumerPollTime; - } - - /** - * Sets the consumer topic list. - * - * @param consumerTopicList the new consumer topic list - */ - public void setConsumerTopicList(String[] consumerTopicList) { - this.consumerTopicList = consumerTopicList; - } - - /** - * Sets the key serializer. - * - * @param keySerializer the new key serializer - */ - public void setKeySerializer(String keySerializer) { - this.keySerializer = keySerializer; - } - - /** - * Sets the value serializer. - * - * @param valueSerializer the new value serializer - */ - public void setValueSerializer(String valueSerializer) { - this.valueSerializer = valueSerializer; - } - - /** - * Sets the key deserializer. - * - * @param keyDeserializer the new key deserializer - */ - public void setKeyDeserializer(String keyDeserializer) { - this.keyDeserializer = keyDeserializer; - } - - /** - * Sets the value deserializer. - * - * @param valueDeserializer the new value deserializer - */ - public void setValueDeserializer(String valueDeserializer) { - this.valueDeserializer = valueDeserializer; - } - - /** * {@inheritDoc}. */ @Override |