Skip to content
Snippets Groups Projects
Commit 9a5d1dfc authored by gwen-soleil's avatar gwen-soleil
Browse files

add filtering for selecting or excluding attributes in attribute ArchiversErrorList

parent cd83f476
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,7 @@ public class ArchiversMonitor { ...@@ -126,6 +126,7 @@ public class ArchiversMonitor {
public void setExcludedAttributes(final String[] excludedAttributes) { public void setExcludedAttributes(final String[] excludedAttributes) {
this.excludedAttributes = excludedAttributes; this.excludedAttributes = excludedAttributes;
excludedAttributesRegex = getRegexList(excludedAttributes); excludedAttributesRegex = getRegexList(excludedAttributes);
if (!excludedAttributesRegex.isEmpty())
doFilterAttributes = true; doFilterAttributes = true;
logger.info("will exclude attributes with regex = {}", selectedAttributesRegex); logger.info("will exclude attributes with regex = {}", selectedAttributesRegex);
} }
...@@ -146,6 +147,7 @@ public class ArchiversMonitor { ...@@ -146,6 +147,7 @@ public class ArchiversMonitor {
this.selectedAttributes = selectedAttributes; this.selectedAttributes = selectedAttributes;
selectedAttributesRegex = getRegexList(selectedAttributes); selectedAttributesRegex = getRegexList(selectedAttributes);
logger.info("will select attributes with regex = {}", selectedAttributesRegex); logger.info("will select attributes with regex = {}", selectedAttributesRegex);
if (!selectedAttributesRegex.isEmpty())
doFilterAttributes = true; doFilterAttributes = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment