Code Review
/
appc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Code changes for platform hardening appc-oam
[appc.git]
/
appc-oam
/
appc-oam-bundle
/
src
/
main
/
java
/
org
/
onap
/
appc
/
oam
/
util
/
BundleFilter.java
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
6dd98f1
..
c4dcb4f
100644
(file)
--- 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
*
*/
* the bundleToStopSet
*
*/
-class BundleFilter {
+
public
class BundleFilter {
private final Map<String, Bundle> bundleToStopSet;
private final Map<String, Bundle> bundleToNotStopSet;
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()}
*/
* @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);
Pattern[] stopPatterns = toPattern(stopRegexes);
Pattern[] exceptPatterns = toPattern(exceptRegexes);
@@
-114,7
+114,7
@@
class BundleFilter {
/**@return Map of bundles that are to be stopped */
/**@return Map of bundles that are to be stopped */
- Map<String, Bundle> getBundlesToStop(){
+
public
Map<String, Bundle> getBundlesToStop(){
return bundleToStopSet;
}
return bundleToStopSet;
}
@@
-122,7
+122,7
@@
class BundleFilter {
*
* @return Map of bundles that are not to be stopped
*/
*
* @return Map of bundles that are not to be stopped
*/
- Map<String, Bundle> getBundlesToNotStop() {
+
public
Map<String, Bundle> getBundlesToNotStop() {
return bundleToNotStopSet;
}
}
return bundleToNotStopSet;
}
}