summaryrefslogtreecommitdiffstats
path: root/reception/src/main
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-08-29 16:20:52 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-08-29 17:51:46 +0100
commite705197bb18af558fb7ea853b01e1297521763f2 (patch)
tree2bb2edc2a764d5fa5871c9485f20f577f1d02e51 /reception/src/main
parentd7a69ea29e4ea46231cec1d16788d9451793a2a7 (diff)
Parameter Service Interface Changes
Changes to distribution due to changes to parameter services, mainly addition of setName() to parameter service interface and correct handling of empty parameters Change-Id: I9523da6461874241d220f0feac61419ef6ebbb9d Issue-ID: POLICY-1035 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'reception/src/main')
-rw-r--r--reception/src/main/java/org/onap/policy/distribution/reception/parameters/PolicyDecoderParameters.java10
1 files changed, 9 insertions, 1 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 2d60b85e..0b7ae0b7 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
@@ -72,7 +72,15 @@ public class PolicyDecoderParameters implements ParameterGroup {
*/
@Override
public String getName() {
- return null;
+ return decoderType;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void setName(final String name) {
+ this.decoderType = name;
}
/**