package net.nemerosa.ontrack.job;

public class NOPJobListener implements JobListener {

    public static final JobListener INSTANCE = new NOPJobListener();

    @Override
    public void onJobStart(JobKey key) {
    }

    @Override
    public void onJobEnd(JobKey key, long milliseconds) {
    }

    @Override
    public void onJobError(JobStatus status, Exception ex) {
    }

    @Override
    public void onJobComplete(JobKey key) {
    }

    @Override
    public void onJobProgress(JobKey key, JobRunProgress progress) {
    }

    @Override
    public boolean isPausedAtStartup(JobKey key) {
        return false;
    }

    @Override
    public void onJobPaused(JobKey key) {
    }

    @Override
    public void onJobResumed(JobKey key) {
    }
}
