Skip to content

Commit e5a1585

Browse files
committed
Minor doc edits
Signed-off-by: Gopal S Akshintala <[email protected]>
1 parent 3cb44ac commit e5a1585

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,10 @@ CAUTION: The new instance created from common config using `override...()` repla
354354

355355
[source,java,indent=0,tabsize=2,options="nowrap"]
356356
----
357-
POKEMON_COMMON_CONFIG.overrideHooks(kotlin.collections.SetsKt.plus(POKEMON_COMMON_CONFIG.hooks(), post(.../*My Hooks*/))
357+
POKEMON_COMMON_CONFIG.overrideHooks(kotlin.collections.CollectionsKt.plus(POKEMON_COMMON_CONFIG.hooks(), post(.../*My Hooks*/))
358358
----
359359

360-
* However, you can construct a new instance by accumulating attributes from other instances using `from()` method, like below
360+
* You can also construct a new instance by accumulating attributes from other instances using `from()` method, like below:
361361

362362
[source,java,indent=0,tabsize=2,options="nowrap"]
363363
----
@@ -580,6 +580,8 @@ Instead, you have a Java utility to generate/create it.
580580
You can invoke the utility in a pre-hook of a step and set the value in `rundown.mutableEnv`,
581581
so the later steps can pick up value for `+{{xyzId}}+` variable from the environment.
582582

583+
CAUTION: When a Step qualifies for more than one hook, hooks are executed in the same sequence they are configured, either using `hooks()` or `overrideHooks()`. Both these methods accept an `iterable`. Make sure to pass an Ordered Iterable (like `ArrayList<>`), if you are particular about Order in which hooks should execute for a Step.
584+
583585
[#_response_validations]
584586
==== Response Validations
585587

0 commit comments

Comments
 (0)