diff --git a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/CommandChain.kt b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/CommandChain.kt index 330ae7f392a5..bbfe9a80fdd5 100644 --- a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/CommandChain.kt +++ b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/CommandChain.kt @@ -25,6 +25,11 @@ open class CommandChain : MarshallableCommand, Iterable { return this } + fun addCommands(commands: Collection): CommandChain { + _chain.addAll(commands) + return this + } + /** * Pattern for adding a command: %YOUR_COMMAND_PREFIX COMMAND_PARAM_1 .. COMMAND_PARAM_N */