http4k / org.http4k.chaos / ChaosEngine / enable
fun enable():
ChaosEngine
Turn on Chaos Engine using the pre-initialised chaotic behaviour. Note that this may not actually produce any effect based on the configured behaviour (e.g. if there is a specific Trigger that is condition-based.)
fun enable(behaviour:
Behaviour
):
ChaosEngine
Update with new simple Chaotic behaviour to be applied whenever the ChaosEngine is enabled.
fun enable(stage:
Stage
):
ChaosEngine
Update the new complex (multi-stage, triggers etc) Chaotic behaviour to be applied whenever the ChaosEngine is enabled.