Adding PolicyType to getConfig Response
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / onap / policy / api / PolicyConfig.java
index 652fd4d..aa5ee13 100644 (file)
@@ -111,6 +111,13 @@ public interface PolicyConfig {
         * @return <code>Map</code> of <code>String, String</code> which consists of the Response Attributes of the Policy retrieved. 
         */
        public Map<String,String> getResponseAttributes();
+       
+       /**
+        * Gets the {@link PolicyConfigType} of the policy that has been retrieved. 
+        * 
+        * @return the <code>PolicyConfigType</code> of the policy that has been retrieved. 
+        */
+       public PolicyConfigType getPolicyType();
        
        /**
         * Returns the <code>String</code> version of the <code>PolicyConfig</code> object.