scheta

Configurable library to create periodic and single jobs in Java.

Лицензия

Лицензия

Группа

Группа

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

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

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

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

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

scheta
Configurable library to create periodic and single jobs in Java.
Ссылка на сайт

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

https://github.com/okarmusk/scheta
Система контроля версий

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

https://github.com/okarmusk/scheta.git

Скачать scheta

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.commons : commons-lang3 jar 3.11
org.slf4j : slf4j-api jar 1.7.30

test (5)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-simple jar 1.7.30
org.junit.jupiter : junit-jupiter-api jar 5.7.0
org.junit.jupiter : junit-jupiter-engine jar 5.7.0
org.mockito : mockito-core jar 3.5.13
org.json : json jar 20200518

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

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

scheta

Configurable library to create periodic and single jobs in Java.

Exposed classes

  • TaskConfiguration class represent configuration for both types of task: SingleJob and PeriodicJob. For SingleJob type task, it can be null, what cause immediate task lunch. null configuration for PeriodicJob cause NullPointerException.

  • SingleJob class is able to lunch one time task immediately or with delay. It's dependent of configuration. Configuration time property is in HH:MM:SS format. If property is set properly, task will be triggered at set hour, minute and second.

  • PeriodicJob class is able to lunch periodic task immediately or with delay. If time property is not set, task starts now. unit defines period time representation in HOURS, MINUTES and SECONDS. period property defines time between task lunches, remember that it is represent as int.

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

Версия
2.0.0
1.1.0
1.0.0