RepeatUntilBuilder

data class RepeatUntilBuilder<INPUT, RESULT : Any>(resultClass: Class<RESULT>, inputClass: Class<out INPUT>, maxIterations: Int = DEFAULT_MAX_ITERATIONS) : WorkflowBuilderConsuming

Java friendly builder for RepeatUntil workflow.

Constructors

Link copied to clipboard
constructor(resultClass: Class<RESULT>, inputClass: Class<out INPUT>, maxIterations: Int = DEFAULT_MAX_ITERATIONS)

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inner class Looper(generator: (RepeatUntilActionContext<INPUT, RESULT>) -> RESULT)

Functions

Link copied to clipboard
open override fun <INPUT : Any> consuming(inputClass: Class<INPUT>): RepeatUntilBuilder<INPUT, RESULT>

Specify the input type for this workflow. Return a builder

Link copied to clipboard

Define the task to be repeated until an acceptable result is achieved.

Link copied to clipboard