doc / ch.tutteli.atrium.domain.creating.iterable.contains.searchbehaviours / SearchBehaviourFactory

SearchBehaviourFactory

interface SearchBehaviourFactory

Defines the minimum set of IterableContains.SearchBehaviours an implementation of the domain of Atrium has to provide.

Functions

inAnyOrder

abstract fun <E, T : Iterable<E>> inAnyOrder(builder: IterableContains.Builder<E, T, NoOpSearchBehaviour>): IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>

inAnyOrderOnly

abstract fun <E, T : Iterable<E>> inAnyOrderOnly(builder: IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>): IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>

inOrder

abstract fun <E, T : Iterable<E>> inOrder(builder: IterableContains.Builder<E, T, NoOpSearchBehaviour>): IterableContains.Builder<E, T, InOrderSearchBehaviour>

inOrderOnly

abstract fun <E, T : Iterable<E>> inOrderOnly(builder: IterableContains.Builder<E, T, InOrderSearchBehaviour>): IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>

inOrderOnlyGrouped

abstract fun <E, T : Iterable<E>> inOrderOnlyGrouped(builder: IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>): IterableContains.Builder<E, T, InOrderOnlyGroupedSearchBehaviour>

inOrderOnlyGroupedWithin

abstract fun <E, T : Iterable<E>> inOrderOnlyGroupedWithin(builder: IterableContains.Builder<E, T, InOrderOnlyGroupedSearchBehaviour>): IterableContains.Builder<E, T, InOrderOnlyGroupedWithinSearchBehaviour>

Inheritors

IterableContainsSearchBehaviourFactoryBuilder

object IterableContainsSearchBehaviourFactoryBuilder : SearchBehaviourFactory

Delegates inter alia to the implementation of SearchBehaviourFactory. In detail, it implements SearchBehaviourFactory by delegating to searchBehaviourFactory which in turn delegates to the implementation via loadSingleService.