Package ar.com.florius.koncierge.internal.definition

The definition of the koncierge's format.

Types

All
Link copied to clipboard
data class All(eval: Evaluator) : Evaluator
Always
Link copied to clipboard
data class Always(value: Boolean) : Evaluator
And
Link copied to clipboard
data class And(evals: List<Evaluator>) : Evaluator
Any
Link copied to clipboard
data class Any(eval: Evaluator) : Evaluator
Bind
Link copied to clipboard

The glue to tie ContextChanger with Evaluator

data class Bind(cc: ContextChanger, eval: Evaluator) : Evaluator
Chaos
Link copied to clipboard
object Chaos : ContextChanger
ContextChanger
Link copied to clipboard

Type level data to change a given ar.com.florius.koncierge.internal.types.Context

Can be though of a function: Context -> Context

sealed class ContextChanger
Date
Link copied to clipboard
object Date : ContextChanger
Dive
Link copied to clipboard
data class Dive(key: String) : ContextChanger
Equal
Link copied to clipboard
data class Equal(x: JsonElement) : Evaluator
Evaluator
Link copied to clipboard

Type level data to evaluate a given ar.com.florius.koncierge.internal.types.Context into a Boolean, if the context matches or not the definition

Can be though of a function: Context -> Boolean

sealed class Evaluator
GreaterThan
Link copied to clipboard
data class GreaterThan(x: Number) : Evaluator
LessThan
Link copied to clipboard
data class LessThan(x: Number) : Evaluator
Not
Link copied to clipboard
data class Not(inner: Evaluator) : Evaluator
Or
Link copied to clipboard
data class Or(evals: List<Evaluator>) : Evaluator
Random
Link copied to clipboard
object Random : ContextChanger
Size
Link copied to clipboard
object Size : ContextChanger