Class AllFilter
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.vilTypes.configuration.AllFilter
-
- All Implemented Interfaces:
IConfigurationFilter
class AllFilter extends java.lang.Object implements IConfigurationFilter
A filter for all elements, i.e., a filter which includes nothing.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static IConfigurationFilterINSTANCEThe singleton instance of this filter.
-
Constructor Summary
Constructors Modifier Constructor Description privateAllFilter()Prevents external creation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaninclude(IvmlElement element)Returns whether a given element shall be included.
-
-
-
Field Detail
-
INSTANCE
public static final IConfigurationFilter INSTANCE
The singleton instance of this filter.
-
-
Method Detail
-
include
public boolean include(IvmlElement element)
Description copied from interface:IConfigurationFilterReturns whether a given element shall be included.- Specified by:
includein interfaceIConfigurationFilter- Parameters:
element- the element to be tested- Returns:
trueifelementshall be included,falseelse
-
-