X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Frepository%2FRic.java;h=df612dc5476981d539854d98d0c8a7549459c8d5;hb=dfbd081159b02601a48162a647848223a9303ebf;hp=7580bf8e51197026ead3c19452301c71fe9c7d01;hpb=8b92754714856090ad81f5a18aa9c93e6b19fe99;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java b/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java index 7580bf8e..df612dc5 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java @@ -23,8 +23,8 @@ package org.oransc.policyagent.repository; import java.util.Collections; import java.util.List; import java.util.Vector; + import org.oransc.policyagent.configuration.RicConfig; -import org.oransc.policyagent.repository.Ric.RicState; /** * Represents the dynamic information about a NearRealtime-RIC. @@ -55,6 +55,10 @@ public class Ric { state = newState; } + public RicConfig getConfig() { + return this.ricConfig; + } + /** * Gets the nodes managed by this Ric. * @@ -139,7 +143,7 @@ public class Ric { * * @param type the type to check if it is supported. * - * @return true if the given type issupported by this Ric, false otherwise. + * @return true if the given type issupported by this Ric, false otherwise. */ public boolean isSupportingType(PolicyType type) { return supportedPolicyTypes.contains(type);