diff options
Diffstat (limited to 'reception/src/main/java/org')
-rw-r--r-- | reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java index 492e2e05..23fac03d 100644 --- a/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java +++ b/reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java @@ -3,6 +3,7 @@ * Copyright (C) 2018 Ericsson. All rights reserved. * Copyright (C) 2019 Nordix Foundation. * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2021 Bell Canada. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +23,7 @@ package org.onap.policy.distribution.reception.parameters; +import lombok.AllArgsConstructor; import lombok.Getter; import org.onap.policy.common.parameters.BeanValidationResult; import org.onap.policy.common.parameters.BeanValidator; @@ -37,26 +39,13 @@ import org.onap.policy.common.parameters.annotations.NotNull; */ @Getter @NotBlank +@AllArgsConstructor public class PolicyDecoderParameters implements ParameterGroup { private @NotNull String decoderType; private @NotNull @ClassName String decoderClassName; private String decoderConfigurationName; /** - * Constructor for instantiating PolicyDecoderParameters. - * - * @param decoderType the policy decoder type - * @param decoderClassName the policy decoder class name - * @param decoderConfigurationName the policy decoder configuration name - */ - public PolicyDecoderParameters(final String decoderType, final String decoderClassName, - final String decoderConfigurationName) { - this.decoderType = decoderType; - this.decoderClassName = decoderClassName; - this.decoderConfigurationName = decoderConfigurationName; - } - - /** * {@inheritDoc}. */ @Override |