Package de.marw.cmake.cmakecache
Interface CMakeCacheFileParser.EntryFilter
- Enclosing class:
CMakeCacheFileParser
public static interface CMakeCacheFileParser.EntryFilter
A filter for CMake cache file entry keys.
Instances of this interface may be passed to the
CMakeCacheFileParser() constructor of the
CMakeCacheFileParser class.
- Author:
- Martin Weber
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether or not the specified entry key should be included in a set returned byCMakeCacheFileParser.parse(java.io.Reader, de.marw.cmake.cmakecache.CMakeCacheFileParser.EntryFilter, java.util.Collection<de.marw.cmake.cmakecache.SimpleCMakeCacheEntry>, java.util.List<java.lang.String>).
-
Method Details
-
accept
Tests whether or not the specified entry key should be included in a set returned byCMakeCacheFileParser.parse(java.io.Reader, de.marw.cmake.cmakecache.CMakeCacheFileParser.EntryFilter, java.util.Collection<de.marw.cmake.cmakecache.SimpleCMakeCacheEntry>, java.util.List<java.lang.String>).- Parameters:
key- The entry key to be tested. Nevernull- Returns:
trueif and only ifkeyshould be included
-