com.github.lontime.extjobrunr.configuration.Options Maven / Gradle / Ivy
package com.github.lontime.extjobrunr.configuration;
import com.github.lontime.base.commonj.constants.Consts;
import com.github.lontime.extjobrunr.common.JobDetailsGeneratorKind;
import com.github.lontime.extjobrunr.common.SerializerKind;
import com.github.lontime.extjobrunr.common.StorageProviderKind;
import lombok.Getter;
import lombok.Setter;
/**
* Options.
* @author lontime
* @since 1.0
*/
@Getter
@Setter
public class Options {
private String name = Consts.DEFAULT_OBJECT_NAME;
/**
* JobDetailsGeneratorKind.
*/
private JobDetailsGeneratorKind generatorKind = JobDetailsGeneratorKind.CACHING;
/**
* StorageProviderKind.
*/
private StorageProviderKind storageKind = StorageProviderKind.INMEMORY;
/**
* StorageProviderKind.
*/
private SerializerKind serializerKind = SerializerKind.JODA;
/**
* BackgroundJobServer.
*/
private BackgroundJobServerOption server = new BackgroundJobServerOption();
/**
* enableJmxExtensions.
*/
private Boolean enableJmxExtensions = Boolean.TRUE;
/**
* enableJmxExtensions.
*/
private Boolean enableDashboard = Boolean.TRUE;
/**
* Database.
*/
private DatabaseOption database = new DatabaseOption();
/**
* Dashboard.
* @return
*/
private DashboardOption dashboard;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy