Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
1.2.0 ~ Class updates, added extension ScheduleBuilder.toJob
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Jul 26, 2021
1 parent b35cb23 commit 49fe577
Show file tree
Hide file tree
Showing 47 changed files with 434 additions and 297 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ I'd say around ~3 hours :)
## Installation
> Documentation: https://haru.floofy.dev
>
> Version: 1.1.1
> Version: 1.2.0
## Gradle
### Kotlin DSL
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ plugins {
`maven-publish`
}

val current = "1.1.1"
val current = "1.2.0"
group = "dev.floofy"
version = current

Expand All @@ -44,7 +44,7 @@ dependencies {
// Kotlin libraries
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0")
api("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.5.0")
implementation(kotlin("stdlib", "1.5.10"))
implementation(kotlin("stdlib", "1.5.21"))

// Cron Support
implementation("com.cronutils:cron-utils:9.1.5")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/AbstractJob/#kotlin.String#kotlin.String/PointingToDeclaration//-1356312616">
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/AbstractJob/#kotlin.String#kotlin.String/PointingToDeclaration//-267411916">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Haru</a>/<a href="../index.html">dev.floofy.haru.abstractions</a>/<a href="index.html">AbstractJob</a>/<a href="-abstract-job.html">AbstractJob</a></div>
<div class="pull-right d-flex">
Expand All @@ -30,10 +30,10 @@ <h1 class="cover"><span>Abstract</span><wbr></wbr><span>Job</span></h1>
</div>
<h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">name</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The name of the job</p></div></div></div></div></div><div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">expression</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The expression to use when scheduling</p></div></div></div></div></div></div></div></div></div></div></div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L36" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" data-filterable-set=":dokkaHtml/main"></a>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L49" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" data-filterable-set=":dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L36">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L49">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FAbstractJob%2F%23kotlin.String%23kotlin.String%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/coroutineJob/#/PointingToDeclaration//-1356312616">
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/coroutineJob/#/PointingToDeclaration//-267411916">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Haru</a>/<a href="../index.html">dev.floofy.haru.abstractions</a>/<a href="index.html">AbstractJob</a>/<a href="coroutine-job.html">coroutineJob</a></div>
<div class="pull-right d-flex">
Expand All @@ -30,10 +30,10 @@ <h1 class="cover"><span>coroutine</span><wbr></wbr><span>Job</span></h1>
</div>
<p class="paragraph">Represents the coroutine job for this <a href="index.html">AbstractJob</a>, returns <code>null</code> if it hasn't been scheduled.</p></div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L37" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" data-filterable-set=":dokkaHtml/main"></a>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L50" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" data-filterable-set=":dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L37">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L50">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FcoroutineJob%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/execute/#/PointingToDeclaration//-1356312616">
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/execute/#/PointingToDeclaration//-267411916">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Haru</a>/<a href="../index.html">dev.floofy.haru.abstractions</a>/<a href="index.html">AbstractJob</a>/<a href="execute.html">execute</a></div>
<div class="pull-right d-flex">
Expand All @@ -30,10 +30,10 @@ <h1 class="cover"><span>execute</span></h1>
</div>
<p class="paragraph">Executes this <a href="index.html">AbstractJob</a> in a separate thread-pool.</p></div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L55" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" data-filterable-set=":dokkaHtml/main"></a>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L68" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" data-filterable-set=":dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L55">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L68">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexecute%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/executionTime/#/PointingToDeclaration//-1356312616">
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/executionTime/#/PointingToDeclaration//-267411916">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Haru</a>/<a href="../index.html">dev.floofy.haru.abstractions</a>/<a href="index.html">AbstractJob</a>/<a href="execution-time.html">executionTime</a></div>
<div class="pull-right d-flex">
Expand All @@ -30,10 +30,10 @@ <h1 class="cover"><span>execution</span><wbr></wbr><span>Time</span></h1>
</div>
<p class="paragraph">Returns the execution time for this job, returns <code>null</code> if it hasn't been scheduled.</p></div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L43" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" data-filterable-set=":dokkaHtml/main"></a>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L56" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" data-filterable-set=":dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L43">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L56">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2FexecutionTime%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/expression/#/PointingToDeclaration//-1356312616">
<script type="text/javascript" src="../../../scripts/main.js"></script> <div class="main-content" id="content" pageIds="Haru::dev.floofy.haru.abstractions/AbstractJob/expression/#/PointingToDeclaration//-267411916">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../../index.html">Haru</a>/<a href="../index.html">dev.floofy.haru.abstractions</a>/<a href="index.html">AbstractJob</a>/<a href="expression.html">expression</a></div>
<div class="pull-right d-flex">
Expand All @@ -30,10 +30,10 @@ <h1 class="cover"><span>expression</span></h1>
</div>
<h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dokkaHtml/main"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">expression</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The expression to use when scheduling</p></div></div></div></div></div></div></div></div></div></div></div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L36" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616" data-filterable-set=":dokkaHtml/main"></a>
<div class="table" data-togglable="Sources"><a data-name="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" anchor-label="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L49" id="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916" data-filterable-set=":dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/main" data-filterable-set=":dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L36">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-1356312616"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/auguwu/Haru/tree/master/src/main/kotlin/dev/floofy/haru/abstractions/AbstractJob.kt#L49">jvm source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bdev.floofy.haru.abstractions%2FAbstractJob%2Fexpression%2F%23%2FPointingToDeclaration%2F%5D%2FSource%2F-267411916"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Loading

0 comments on commit 49fe577

Please sign in to comment.