TaskStorage

interface TaskStorage(source)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun cancel(taskId: TaskId, tenant: Tenant? = null): Task?
Link copied to clipboard
abstract fun delete(taskId: TaskId, tenant: Tenant? = null)
Link copied to clipboard
abstract fun get(taskId: TaskId, historyLength: Int? = null, tenant: Tenant? = null): Task?
Link copied to clipboard
abstract fun list(contextId: ContextId? = null, status: TaskState? = null, pageSize: Int? = null, pageToken: PageToken? = null, historyLength: Int? = null, statusTimestampAfter: Instant? = null, includeArtifacts: Boolean? = null, tenant: Tenant? = null): TaskPage
Link copied to clipboard
abstract fun store(task: Task, tenant: Tenant? = null)
Link copied to clipboard