diff --git a/shim/src/main/java/info/vancauwenberge/filedriver/filestart/QuartzUtil.java b/shim/src/main/java/info/vancauwenberge/filedriver/filestart/QuartzUtil.java index d1ba0b6..d15bac9 100644 --- a/shim/src/main/java/info/vancauwenberge/filedriver/filestart/QuartzUtil.java +++ b/shim/src/main/java/info/vancauwenberge/filedriver/filestart/QuartzUtil.java @@ -32,6 +32,17 @@ * */ public class QuartzUtil { + /** + * Initialize quartz in another class to avoid imports of quartz when no + * used. + * + * @param trace + * @param cronExpression + * @param subscriber + * @param callabck + * @return + * @throws Exception + */ static org.quartz.Scheduler initQuartz(Trace trace, String cronExpression, ISubscriberShim subscriber, BasicNewFileDecider callabck) throws Exception { trace.trace("Initializing quartz for cron (if required)", TraceLevel.TRACE);