transitionsTo

fun transitionsTo(targetState: S): StateBuilder<S>

Tool transitions to specified state after successful execution.