package org.easybatch.core.api.event.record;

import org.easybatch.core.api.event.global.BatchProcessEventListener;
import org.easybatch.core.impl.EngineBuilder;

/**
 * Enables the implementing class to get an event on different steps within the batch process.
 * <p>
 * Do not use this interface directly, instead use the correct inheritance for your need.
 *
 * @author Mario Mueller (mario@xenji.com)
 */
public interface RecordProcessEventListener extends BatchProcessEventListener {

    /**
     * Callback after the add to the builder.
     * The events happens in {@link org.easybatch.core.impl.EngineBuilder#registerRecordMapper}.
     *
     * @param batchEngineBuilder The current state of the batch builder after adding this mapper.
     */
    public void afterAdd(EngineBuilder batchEngineBuilder);
}

@@ -43,78 +43,8 @@
 d;%0A%0A
-import org.easybatch.core.api.event.global.BatchProcessEventListener;%0A
 impo
@@ -380,42 +380,8 @@
 ner 
-extends BatchProcessEventListener 
 %7B%0A%0A 

change RecordProcessEventListener to not extend BatchProcessEventListener so that implementations are not forced to depend on methods they do not use (ISP principle)