X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=appc-oam%2Fappc-oam-bundle%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Foam%2Futil%2FBundleFilter.java;h=c4dcb4fa7cb2fc6dfb524a8fcb576121b8f5256c;hb=9ebb5ddcb60345dea668049c73f5f2d9c3cdf731;hp=6dd98f165ae148a212a9a912e12b8302849c8fdb;hpb=5a49cac6ffc172bc9fdb3b9d13311915c9952204;p=appc.git diff --git a/appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java b/appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java index 6dd98f165..c4dcb4fa7 100644 --- a/appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java +++ b/appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java @@ -45,7 +45,7 @@ import java.util.regex.Pattern; * the bundleToStopSet * */ -class BundleFilter { +public class BundleFilter { private final Map bundleToStopSet; private final Map bundleToNotStopSet; @@ -57,7 +57,7 @@ class BundleFilter { * @param exceptRegexes - An array of regular expression used to override which bundles are candidates for stopping * @param bundles - An array of the bundle to be split into {@link #getBundlesToStop()} {@link #getBundlesToNotStop()} */ - BundleFilter(String[] stopRegexes, String[] exceptRegexes, Bundle[] bundles) { + public BundleFilter(String[] stopRegexes, String[] exceptRegexes, Bundle[] bundles) { Pattern[] stopPatterns = toPattern(stopRegexes); Pattern[] exceptPatterns = toPattern(exceptRegexes); @@ -114,7 +114,7 @@ class BundleFilter { /**@return Map of bundles that are to be stopped */ - Map getBundlesToStop(){ + public Map getBundlesToStop(){ return bundleToStopSet; } @@ -122,7 +122,7 @@ class BundleFilter { * * @return Map of bundles that are not to be stopped */ - Map getBundlesToNotStop() { + public Map getBundlesToNotStop() { return bundleToNotStopSet; } }