doc / ch.tutteli.atrium.logic.creating.transformers.impl.subjectchanger / FinalStepImpl

FinalStepImpl

class FinalStepImpl<T, R> : SubjectChangerBuilder.FinalStep<T, R>

Constructors

<init>

FinalStepImpl(transformationStep: SubjectChangerBuilder.TransformationStep<T>, transformation: (T) -> Option<R>, failureHandler: SubjectChanger.FailureHandler<T, R>)

Properties

failureHandler

val failureHandler: SubjectChanger.FailureHandler<T, R>

The previously specified SubjectChanger.FailureHandler.

transformation

val transformation: (T) -> Option<R>

The previously specified new subject.

transformationStep

val transformationStep: SubjectChangerBuilder.TransformationStep<T>

The so far chosen options up to the TransformationStep step.

Functions

build

fun build(): SubjectChangerBuilder.ExecutionStep<T, R>

Finishes the help-me-to-call-SubjectChanger-process by creating an ExecutionStep incorporating all previously chosen options.