classAllowed

abstract fun classAllowed(documentClass: DocumentClassInfo): Boolean

Determines whether document should be processed or it is filtered out.

Return

true if the document with the given DocumentClassInfo should be processed, false if the document should be filtered out.

Parameters

documentClass

DocumentClassInfo for document currently being evaluated. This object cannot be used outside of this method, it will be invalidated as soon as this filter method finishes. Please don't keep reference to classInfo parameter outside of this method.