diff options
Diffstat (limited to 'appc-oam/appc-oam-bundle')
-rw-r--r-- | appc-oam/appc-oam-bundle/pom.xml | 24 | ||||
-rw-r--r-- | appc-oam/appc-oam-bundle/src/main/java/org/onap/appc/oam/util/BundleFilter.java | 8 |
2 files changed, 28 insertions, 4 deletions
diff --git a/appc-oam/appc-oam-bundle/pom.xml b/appc-oam/appc-oam-bundle/pom.xml index 51deba758..c24aa4341 100644 --- a/appc-oam/appc-oam-bundle/pom.xml +++ b/appc-oam/appc-oam-bundle/pom.xml @@ -1,4 +1,27 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ============LICENSE_START======================================================= + ONAP : APPC + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Copyright (C) 2017 Amdocs + ============================================================================= + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ECOMP is a trademark and service mark of AT&T Intellectual Property. + ============LICENSE_END========================================================= + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -10,6 +33,7 @@ <version>1.3.0-SNAPSHOT</version> </parent> <artifactId>appc-oam-bundle</artifactId> + <name>APPC OAM - Bundle</name> <packaging>bundle</packaging> <build> <plugins> 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; } } |