Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adding PolicyType to getConfig Response
[policy/engine.git]
/
PolicyEngineAPI
/
src
/
main
/
java
/
org
/
onap
/
policy
/
api
/
PolicyConfig.java
diff --git
a/PolicyEngineAPI/src/main/java/org/onap/policy/api/PolicyConfig.java
b/PolicyEngineAPI/src/main/java/org/onap/policy/api/PolicyConfig.java
index
652fd4d
..
aa5ee13
100644
(file)
--- a/
PolicyEngineAPI/src/main/java/org/onap/policy/api/PolicyConfig.java
+++ b/
PolicyEngineAPI/src/main/java/org/onap/policy/api/PolicyConfig.java
@@
-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();
* @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.
/**
* Returns the <code>String</code> version of the <code>PolicyConfig</code> object.