Condition

fun interface Condition

Represents a condition that can be evaluated to determine if a task should run.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open infix fun and(other: Condition): Condition

Returns a condition that is the logical AND of this condition and the other condition.

Link copied to clipboard
abstract fun canRun(): Boolean

Evaluates the condition.

Link copied to clipboard
open fun not(): Condition

Returns a condition that is the logical negation of this condition.

Link copied to clipboard
open infix fun or(other: Condition): Condition

Returns a condition that is the logical OR of this condition and the other condition.

Link copied to clipboard
open infix fun xor(other: Condition): Condition

Returns a condition that is the logical XOR of this condition and the other condition.