All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ltsopensource.startup.tasktracker.test.TestJobRunner Maven / Gradle / Ivy

There is a newer version: 1.7.0
Show newest version
package com.github.ltsopensource.startup.tasktracker.test;

import com.github.ltsopensource.core.domain.Action;
import com.github.ltsopensource.core.json.JSON;
import com.github.ltsopensource.tasktracker.Result;
import com.github.ltsopensource.tasktracker.runner.JobContext;
import com.github.ltsopensource.tasktracker.runner.JobRunner;

/**
 * @author Robert HG ([email protected]) on 9/12/15.
 */
public class TestJobRunner implements JobRunner {

    @Override
    public Result run(JobContext jobContext) throws Throwable {
        System.out.println(JSON.toJSONString(jobContext));

        return new Result(Action.EXECUTE_SUCCESS);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy