getTool

fun getTool(toolName: String): Tool<*, *>(source)

Retrieves a tool by its name from the registry.

This method searches for a tool with the specified name.

Return

The tool with the specified name

Parameters

toolName

The name of the tool to retrieve

Throws

if no tool with the specified name is found


inline fun <T : Tool<*, *>> getTool(): T(source)

Retrieves a tool by its type from registry.

This method searches for a tool of the specified type.

Return

The tool of the specified type

Parameters

T

The type of tool to retrieve

Throws

if no tool of the specified type is found