package de.jeha.kame.crawler.scheduler.services;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author jenshadlich@googlemail.com
 */
class QuartzCrawlJob implements Job {

    private static final Logger LOG = LoggerFactory.getLogger(QuartzCrawlJob.class);

    public static final String NAME = "NAME";
    public static final String SEED_URL = "SEED_URL";

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        LOG.info("{}", context.get(NAME));
        LOG.info("{}", context.get(SEED_URL));
    }

}

@@ -250,16 +250,23 @@
 com%0A */%0A
+public 
 class Qu
@@ -608,24 +608,55 @@
 %7D%22, context.
+getJobDetail().getJobDataMap().
 get(NAME));%0A
@@ -686,16 +686,47 @@
 context.
+getJobDetail().getJobDataMap().
 get(SEED

make public as required by quartz framework