doc / ch.tutteli.atrium.domain.creating.charsequence.contains.searchbehaviours / NoOpSearchBehaviour

NoOpSearchBehaviour

interface NoOpSearchBehaviour : CharSequenceContains.SearchBehaviour

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

It furthermore implements a no operation for decorateDescription, meaning it passes back the description which is passed in (identity function).

Functions

decorateDescription

open fun decorateDescription(description: Translatable): Translatable

Returns the given description.

Inheritors

CharSequenceContainsNoOpSearchBehaviour

open class CharSequenceContainsNoOpSearchBehaviour : CharSequenceContains.SearchBehaviour, NoOpSearchBehaviour

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

NotSearchBehaviour

interface NotSearchBehaviour : NoOpSearchBehaviour

Represents still the default search behaviour but a CharSequenceContains.Checker should be used which verifies that the CharSequenceContains.Searcher could not find the expected object.