ConfirmationRequest

class ConfirmationRequest<P : Any>(payload: P, val message: String, persistent: Boolean = false) : AbstractAwaitable<P, ConfirmationResponse>

Request confirmation from the user before promoting an object to the blackboard. Rejection will hold back a flow.

Constructors

Link copied to clipboard
constructor(payload: P, message: String, persistent: Boolean = false)

Properties

Link copied to clipboard
open val id: String
Link copied to clipboard
Link copied to clipboard
open override val payload: P
Link copied to clipboard
open val timestamp: Instant

Functions

Link copied to clipboard
open override fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open override fun onResponse(response: ConfirmationResponse, agentProcess: AgentProcess): ResponseImpact

Update process state based on this response

Link copied to clipboard
open fun persistent(): Boolean
Link copied to clipboard
open override fun toString(): String