public void addCustomEventCallback ( final CrawlEvent event , final PatternMatchingCallback callback ) { customCallbacks . computeIfAbsent ( event , key -> new ArrayList <> ( ) ) . add ( callback ) ; }
Associates a pattern matching callback with the specific event .