diff options
author | dc443y <dc443y@att.com> | 2020-05-18 16:34:02 -0500 |
---|---|---|
committer | dc443y <dc443y@att.com> | 2020-05-18 16:47:03 -0500 |
commit | 3505d4b7b996736a65805cf5338e1a9cbf4be147 (patch) | |
tree | acecee35b3e221493439d9eb420ef82ef5ac260e /controlloop/common/eventmanager/src | |
parent | 01e76180743d49a61803299cca959f2a1d03247b (diff) |
Add getter for ControlLoopPolicy instance in ControlLoopProcessor
This is to allow other frameworks, such as M2, to obtain the
ControlLoopPolicy instance after the raw ToscaPolicy has
been adapted.
Issue-ID: POLICY-2574
Change-Id: I003e60991f6e4007bd30f0e9392f6fa8bf21733a
Signed-off-by: dc443y <dc443y@att.com>
Diffstat (limited to 'controlloop/common/eventmanager/src')
-rw-r--r-- | controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/processor/ControlLoopProcessor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/processor/ControlLoopProcessor.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/processor/ControlLoopProcessor.java index 104e28cd0..f1835d740 100644 --- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/processor/ControlLoopProcessor.java +++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/processor/ControlLoopProcessor.java @@ -54,6 +54,7 @@ public class ControlLoopProcessor implements Serializable { private static final long serialVersionUID = 1L; private static final Logger logger = LoggerFactory.getLogger(ControlLoopProcessor.class); + @Getter private final ControlLoopPolicy policy; private String currentNestedPolicyId; |