Class AbstractWorkflowWebscript.ExcludeFilter
- java.lang.Object
-
- org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript.ExcludeFilter
-
- Enclosing class:
- AbstractWorkflowWebscript
public class AbstractWorkflowWebscript.ExcludeFilter extends Object
Helper class to check for excluded items.
-
-
Constructor Summary
Constructors Constructor Description ExcludeFilter(String filters)
Creates a new ExcludeFilter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMatch(String item)
Determines whether the given item matches one of the filters.
-
-
-
Constructor Detail
-
ExcludeFilter
public ExcludeFilter(String filters)
Creates a new ExcludeFilter- Parameters:
filters
- Comma separated list of filters which can optionally contain wildcards
-
-
Method Detail
-
isMatch
public boolean isMatch(String item)
Determines whether the given item matches one of the filters.- Parameters:
item
- The item to check- Returns:
- true if the item matches one of the filters
-
-