RollbackToolRegistryBuilder

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

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

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

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()
expect constructor()
actual constructor()
actual constructor()

Functions

Link copied to clipboard

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

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

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

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

Link copied to clipboard
open 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 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<*>): RollbackToolRegistryBuilder

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

open 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.

open 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.