Move RefreshConfigTask under tasks
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / configuration / ApplicationConfigParser.java
index 86f4e59..75ee135 100644 (file)
@@ -30,7 +30,7 @@ import java.util.Vector;
 
 import org.oransc.policyagent.exceptions.ServiceException;
 
-class ApplicationConfigParser {
+public class ApplicationConfigParser {
 
     private static final String CONFIG = "config";
     private static Gson gson = new GsonBuilder() //
@@ -67,14 +67,6 @@ class ApplicationConfigParser {
         return elem;
     }
 
-    private static String getAsString(JsonObject obj, String memberName) throws ServiceException {
-        return get(obj, memberName).getAsString();
-    }
-
-    private static JsonObject getAsJson(JsonObject obj, String memberName) throws ServiceException {
-        return get(obj, memberName).getAsJsonObject();
-    }
-
     private JsonArray getAsJsonArray(JsonObject obj, String memberName) throws ServiceException {
         return get(obj, memberName).getAsJsonArray();
     }