From e705197bb18af558fb7ea853b01e1297521763f2 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 29 Aug 2018 16:20:52 +0100 Subject: 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 --- .../reception/parameters/PolicyDecoderParameters.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'reception/src') 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; } /** -- cgit 1.2.3-korg