quartz-easy

Quartz Scheduler integration in Spring Boot Framework

Лицензия

Лицензия

Категории

Категории

Quartz Библиотеки уровня приложения Job Scheduling
Группа

Группа

com.indusnode
Идентификатор

Идентификатор

quartz-easy
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

quartz-easy
Quartz Scheduler integration in Spring Boot Framework
Ссылка на сайт

Ссылка на сайт

https://github.com/mejariamol/quartz-easy
Система контроля версий

Система контроля версий

http://github.com/mejariamol/quartz-easy/tree/master

Скачать quartz-easy

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.indusnode/quartz-easy/ -->
<dependency>
    <groupId>com.indusnode</groupId>
    <artifactId>quartz-easy</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.indusnode/quartz-easy/
implementation 'com.indusnode:quartz-easy:1.0.0'
// https://jarcasting.com/artifacts/com.indusnode/quartz-easy/
implementation ("com.indusnode:quartz-easy:1.0.0")
'com.indusnode:quartz-easy:jar:1.0.0'
<dependency org="com.indusnode" name="quartz-easy" rev="1.0.0">
  <artifact name="quartz-easy" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.indusnode', module='quartz-easy', version='1.0.0')
)
libraryDependencies += "com.indusnode" % "quartz-easy" % "1.0.0"
[com.indusnode/quartz-easy "1.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-web jar
org.quartz-scheduler : quartz jar 2.3.0

test (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar

Модули Проекта

Данный проект не имеет модулей.

quartz-easy

Maven Central

Quartz Scheduler integration in Spring Boot Framework

The purpose of this project is to simplify the quartz scheduler integration in spring boot framework. I came up with this while setting up quartz scheduler in one of the projects at work.

How to use

  1. Annotate your Job implementation with Scheduled annotation with required configuration by setting suitable fields present in the annotation.
import com.indusnode.quartz.annotation.Scheduled;
...
@Scheduled(interval="5", intervalType=Scheduled.IntervalType.SEC)
class TestJob implements Job {
    //...
}
  1. set application property qe.base-package as your base package name of the project which will contain all your job implementations.
  2. And you are done! No need to define factories, JobDetail, Triggers...etc.

NOTE: This library currently doesn't provide database support for quarts data. You may setup those settings in traditional way besides this library.

Installation

Maven

In a Maven project, include the quartz-easy artifact in the dependencies section of your pom.xml

<dependency>
  <groupId>com.indusnode</groupId>
  <artifactId>quartz-easy</artifactId>
  <version>1.0.0</version>
</dependency>

Java Gradle

implementation 'com.indusnode:quartz-easy:1.0.0'

For other build systems please refer Maven Central Repository.

Download

If you do not use maven, gradle, ivy, or other build systems that consume maven-style binary artifacts, they can be downloaded directly via the Maven Central Repository.

Contribute

Lets make this more simpler and effective! Looking forward to PRs. 😄 👍

Версии библиотеки

Версия
1.0.0