Job

abstract class Job : Runnable, Comparable<T>

A job to be executed.

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Since

1.0

Inheritors

Constructors

Link copied to clipboard
protected constructor()
create an new job without receiver.
protected constructor(receiver: Activity)
create an new job.

Properties

Link copied to clipboard
private val logger: Logger
log instance, errors logged with this logger can be intercepted by and can be reported back to the back-end or - if unexpected - will fail JUnit tests.
Link copied to clipboard
protected val receiver: Activity
Receiver of the work unit
Link copied to clipboard
private val TAG: String
logging tag

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun compareTo(job: Job): Int
Default compareTo method for Jobs
Link copied to clipboard
protected abstract fun deliver()
Delivers the result.
Link copied to clipboard
open fun equals(o: Any): Boolean
Compares this instance with the specified object and indicates if they are equal.
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
fun run()
helper for the runOnUiThread method of the receiver activity.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()
Link copied to clipboard
protected abstract fun work()
Performs the work operation.