AbstractCondition

abstract class AbstractCondition<T>(conditions: SimplifiedCondition<T>) : SimplifiedCondition<T>

Functions

and
Link copied to clipboard
open override fun and(conditions: SimplifiedCondition<T>): SimplifiedCondition<T>
Creates a concatenating operand based on AND
getAllCandidates
Link copied to clipboard
abstract fun getAllCandidates(): List<SimplifiedCondition<T>>
Returns all base condition statements
isSatisfiedByValue
Link copied to clipboard
abstract fun isSatisfiedByValue(): Boolean
Returns the value set with setValue depends on conditions
not
Link copied to clipboard
open override fun not(): SimplifiedCondition<T>
Creates an inverting operand
or
Link copied to clipboard
open override fun or(conditions: SimplifiedCondition<T>): SimplifiedCondition<T>
Creates a concatenating operand based on OR
setValue
Link copied to clipboard
abstract fun setValue(condition: SimplifiedCondition<T>, value: Boolean)
Sets the value that isSatisfiedByValue will return to the base operands
toString
Link copied to clipboard
abstract override fun toString(): String

Inheritors

AlwaysFalseCondition
Link copied to clipboard
AlwaysTrueCondition
Link copied to clipboard
AndCondition
Link copied to clipboard
Condition
Link copied to clipboard
NotCondition
Link copied to clipboard
OrCondition
Link copied to clipboard