RollbackToolRegistryBuilder

expect open class RollbackToolRegistryBuilder(delegate: RollbackToolRegistryBuilderImpl = RollbackToolRegistryBuilderImpl()) : RollbackToolRegistryBuilderAPI(source)

A builder class responsible for creating a RollbackToolRegistry while managing associations between tools and their corresponding rollback tools.

Constructors

Link copied to clipboard
actual constructor(delegate: RollbackToolRegistryBuilderImpl)
actual constructor(delegate: RollbackToolRegistryBuilderImpl)
expect constructor(delegate: RollbackToolRegistryBuilderImpl = RollbackToolRegistryBuilderImpl())
actual constructor(delegate: RollbackToolRegistryBuilderImpl)
actual constructor(delegate: RollbackToolRegistryBuilderImpl)
actual constructor(delegate: RollbackToolRegistryBuilderImpl)

Functions

Link copied to clipboard
actual open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

actual open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

expect open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

actual open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

actual open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

actual open override fun build(): RollbackToolRegistry

Builds and returns an instance of RollbackToolRegistry initialized with the registered rollback tools.

Link copied to clipboard
actual open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

actual open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

expect open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

actual open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

actual open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

fun registerRollback(toolFunction: KFunction<*>, rollbackToolFunction: KFunction<*>)

Registers a relationship between a tool and its corresponding rollback tool using the specified functions.

actual open override fun <TArgs> registerRollback(tool: Tool<TArgs, *>, rollbackTool: Tool<TArgs, *>): RollbackToolRegistryBuilder

Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.

Link copied to clipboard

Registers relationships between tools in the given tool set and their corresponding rollback tools in the rollback tool set.