CommandResultAccessor

Provides methods to access and manipulate the results of a command execution. This interface is designed to store and retrieve command results, which can be useful for tracking the outcomes of commands and ensuring idempotency.

Functions

Link copied to clipboard
abstract fun getCommandResult(): Map<String, Any>

Retrieves the results of all command executions.

abstract fun <R> getCommandResult(key: String): R?

Retrieves the result of a command execution based on the provided key.

Link copied to clipboard
abstract fun setCommandResult(key: String, value: Any)

Sets the result of a command execution with the specified key and value.