org.alfresco.repo.web.scripts.workflow
Class AbstractWorkflowWebscript.ExcludeFilter

java.lang.Object
  extended by org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript.ExcludeFilter
Enclosing class:
AbstractWorkflowWebscript

public class AbstractWorkflowWebscript.ExcludeFilter
extends java.lang.Object

Helper class to check for excluded items.


Constructor Summary
AbstractWorkflowWebscript.ExcludeFilter(java.lang.String filters)
          Creates a new ExcludeFilter
 
Method Summary
 boolean isMatch(java.lang.String item)
          Determines whether the given item matches one of the filters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWorkflowWebscript.ExcludeFilter

public AbstractWorkflowWebscript.ExcludeFilter(java.lang.String filters)
Creates a new ExcludeFilter

Parameters:
filters - Comma separated list of filters which can optionally contain wildcards
Method Detail

isMatch

public boolean isMatch(java.lang.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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.