TaskEvent
final class TaskEvent
Extends: Event
Package: dev.joid.lib.ui.task · Module: core · Source: TaskEvent.java
Event that a task passes to its listeners when it runs.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
TaskEvent | create(Task task) factory | Creates the event for this task. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
Task | getTask() | The task that runs; call detach() on it to stop a periodic task. |
Creation details
Section titled “Creation details”create
Section titled “create”TaskEvent create(Task task) factory
Creates the event for this task.
Method details
Section titled “Method details”getTask
Section titled “getTask”Task getTask()
The task that runs; call detach() on it to stop a periodic task.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
