Constructors

Link copied to clipboard
constructor(inType: KClass<out StageResult>, outType: KClass<out StageResult>)

Types

Link copied to clipboard
open class EmptyConfig : ConfigUnit

A ConfigUnit which represents an empty configuration.

Link copied to clipboard
abstract class ExecStateData

Execution data associated to a PipelineStage.

Link copied to clipboard

Classification of this stage.

Properties

Link copied to clipboard
protected lateinit var _runner: Runner
Link copied to clipboard
open val className: String

The class name of this pipeline stage.

Link copied to clipboard
abstract val config: ConfigUnit

The configuration used to instantiate this stage.

Link copied to clipboard

The key of the configuration which instantiated this stage.

Link copied to clipboard
protected var hasTimedOut: Boolean

Whether this stage has timed out.

Link copied to clipboard
Link copied to clipboard
protected val logger: Logger
Link copied to clipboard
Link copied to clipboard

The context of the configuration parser associated with instantiating this stage.

Link copied to clipboard

The unique stage name of this pipeline stage.

Link copied to clipboard
open val runner: Runner

Functions

Link copied to clipboard
protected abstract suspend fun execute(input: StageResult): StageResult

Implementation for executing this pipeline.

Link copied to clipboard

Executes this pipeline stage using input.

Link copied to clipboard
protected fun markStageAsTimedOut()

Marks this stage as having timed out.

Link copied to clipboard
@MustBeInvokedByOverriders
protected open suspend fun onExecComplete()

Callback method to run when execute method completes, regardless of whether it succeeds or fails.

Link copied to clipboard
protected fun onExecFailed(tr: Throwable)

Callback method to run when the execute method fails.

Link copied to clipboard
protected abstract fun onExecFailedImpl(tr: Throwable)

Implementation for when the execute method fails.

Link copied to clipboard
protected open fun onInitParserContext(configContext: ConfigParsable.Context)

Implementation when parser context is provided to the stage.

Link copied to clipboard

Provides the parser context to this pipeline stage.

Link copied to clipboard
fun putRunner(runner: Runner)

Puts the context of the Runner into this pipeline stage.