Writing FileSetChecks

Writing a FileSetCheck is pretty straightforward: Just inherit from AbstractFileSetCheck and override the abstract processFiltered(java.io.File, java.util.List) method and you're done. A very simple example could fire an error if the number of files exceeds a certain limit. Here is a FileSetCheck that does just that: