doc / ch.tutteli.atrium.logic.creating.charsequence.contains / CharSequenceContains / SearchBehaviour

SearchBehaviour

interface SearchBehaviour : Contains.SearchBehaviour (source)

Represents a search behaviour but leaves it up to the Searcher how this behaviour is implemented -- yet, it provides a method to decorate a description (a Translatable) in order that it reflects the search behaviour.

Inherited Functions

decorateDescription

abstract fun decorateDescription(description: Translatable): Translatable

Decorates the given description so that it represents the search behaviour and returns the result.

Inheritors

IgnoringCaseSearchBehaviour

interface IgnoringCaseSearchBehaviour : CharSequenceContains.SearchBehaviour

Represents the search behaviour that a CharSequenceContains.Searcher should ignore case when searching for an expected object.

NoOpSearchBehaviour

interface NoOpSearchBehaviour : CharSequenceContains.SearchBehaviour

Represents the default search behaviour or rather does not define a search behaviour at all.