summaryrefslogtreecommitdiffstats
path: root/appc-oam/appc-oam-bundle/src/main
diff options
context:
space:
mode:
authorAnand <ac204h@att.com>2018-01-04 12:44:05 -0500
committerAnand <ac204h@att.com>2018-01-04 13:01:43 -0500
commit9ebb5ddcb60345dea668049c73f5f2d9c3cdf731 (patch)
tree221f80ddb373dc2ef6dddba962f58c60fd2bd263 /appc-oam/appc-oam-bundle/src/main
parent5a49cac6ffc172bc9fdb3b9d13311915c9952204 (diff)
Code changes for platform hardening appc-oam
Issue-ID: APPC-371 Change-Id: I124ad01cd945beb7a9b63a90760b33ca25246bc7 Signed-off-by: Anand <ac204h@att.com>
Diffstat (limited to 'appc-oam/appc-oam-bundle/src/main')
-rw-r--r--appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java8
1 files changed, 4 insertions, 4 deletions
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<String, Bundle> bundleToStopSet;
private final Map<String, Bundle> 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<String, Bundle> getBundlesToStop(){
+ public Map<String, Bundle> getBundlesToStop(){
return bundleToStopSet;
}
@@ -122,7 +122,7 @@ class BundleFilter {
*
* @return Map of bundles that are not to be stopped
*/
- Map<String, Bundle> getBundlesToNotStop() {
+ public Map<String, Bundle> getBundlesToNotStop() {
return bundleToNotStopSet;
}
}