Condition

interface Condition : Operation

A Condition is a named, well known predicate that can be evaluated and reused across multiple Actions.

Inheritors

Properties

Link copied to clipboard
abstract val cost: <Error class: unknown class>

Cost of evaluating the condition. 0 is cheap, 1 is expensive. Helps in planning.

Functions

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

Evaluate the condition in the context of the process. This may be expensive, so the cost is provided. The infrastructure will attempt to call this function infrequently on expensive conditions, so there's no urgency to optimize here.

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open operator fun inv(): Condition
Link copied to clipboard
open operator fun not(): Condition
Link copied to clipboard
open infix fun or(b: Condition): Condition