VirtualGroup

Constructors

Link copied to clipboard
constructor(configure: VirtualGroup.Configure)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
fun interface Configure
Link copied to clipboard
inner class VirtualGroupDsl
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun dependedLocks(): Set<Lock>

Returns the set of Locks required for this task to begin. These are checked before canStart.

Link copied to clipboard
open fun dependedTasks(): Set<ITask<*>>

Returns the set of ITasks that need to be completed for this task to begin.

Link copied to clipboard
open fun describeVerbose(): <Error class: unknown class>
Link copied to clipboard
open fun finish()

Stops this task, moving it the Finished state and potentially calling onFinish.

Link copied to clipboard
open override fun require(before: ITask<*>): VirtualGroup

Add the provided before task as a dependency for this task.

open override fun require(lock: Lock): VirtualGroup

Add the provided lock lock as a dependency for this task.

Link copied to clipboard
open fun stop()

Stops this task, moving it the Cancelled state and potentially calling onFinish.

Link copied to clipboard
open override fun <T : ITask<T>> then(other: T): T

Sets up the provided other task to run after this task completes, adding it to the dependency tree.