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

com.github.lontime.extjobrunr.common.JobDetailsGeneratorKind Maven / Gradle / Ivy

package com.github.lontime.extjobrunr.common;

import org.jobrunr.jobs.details.CachingJobDetailsGenerator;
import org.jobrunr.jobs.details.JobDetailsAsmGenerator;
import org.jobrunr.jobs.details.JobDetailsGenerator;

/**
 * JobDetailsGeneratorKind.
 * @author lontime
 * @since 1.0
 */
public enum JobDetailsGeneratorKind {

    /**
     * CACHING.
     */
    CACHING(new CachingJobDetailsGenerator()),
    /**
     * ASM.
     */
    ASM(new JobDetailsAsmGenerator());

    private JobDetailsGenerator generator;

    JobDetailsGeneratorKind(JobDetailsGenerator generator) {
        this.generator = generator;
    }

    public JobDetailsGenerator getGenerator() {
        return generator;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy