org.schmant.project.java
Class JavaProjectFilter
java.lang.Object
org.entityfs.support.filter.AbstractConvenientFilter<Project>
org.schmant.project.java.JavaProjectFilter
- All Implemented Interfaces:
- Cloneable, ConvenientFilter<Project>, Filter<Project>, ProjectFilter
public final class JavaProjectFilter
- extends AbstractConvenientFilter<Project>
- implements ProjectFilter
This is a filter that matches Java projects. (Projects of the type
JavaProjectType
.)
Instead of instantiating this filter, the singleton instance
INSTANCE
may be used.
- Since:
- 0.8
- Author:
- Karl Gustafsson
- See Also:
ProjectTypeFilter
Method Summary |
boolean |
matches(Project p)
Does the filter match the object? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final JavaProjectFilter INSTANCE
- The singleton instance
FILTER
public static final JavaProjectFilter FILTER
- An alias for the singleton instance.
JavaProjectFilter
public JavaProjectFilter()
matches
public boolean matches(Project p)
- Description copied from interface:
Filter
- Does the filter match the object?
- Specified by:
matches
in interface Filter<Project>
- Parameters:
p
- The object to match.
- Returns:
true
if the filter matches the object.