SearchDSL

open class SearchDSL

DSL that facilitates the creation of a SearchSpecs object.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Binding(val type: TypeToken<*>, val tag: Any? = null) : SearchDSL.Spec

A binding return type constrained spec.

Link copied to clipboard
interface Spec

A function that modifies a SearchSpecs object to add its constraint.

Functions

Link copied to clipboard

Allows to merge to constraints.

Link copied to clipboard
fun Argument(argumentType: TypeToken<*>): SearchDSL.Spec

Creates an argument constrained spec.

Link copied to clipboard

Creates an argument constrained spec.

Link copied to clipboard
inline fun <T : Any> SearchDSL.binding(tag: Any? = null): SearchDSL.Binding

Creates a return type constrained spec.

Link copied to clipboard
fun Context(contextType: TypeToken<*>): SearchDSL.Spec

Creates a context constrained spec.

Link copied to clipboard

Creates a context constrained spec.

Link copied to clipboard
fun tag(tag: Any?): SearchDSL.Spec

Creates a tag constrained spec.

Link copied to clipboard

Allows to add a constraints spec.