public TriggerContext on(Collection<Trigger> triggers) {
        if (triggers != null) {
            addedTriggers.addAll(triggers);
        }

        // Stay in the same context and re-use the same instance because no type has changed
        return this;
    }
public TriggerContext on ( Collection < Trigger > triggers ) { if ( triggers != null ) { addedTriggers . addAll ( triggers ) ; } return this ; }
Adds the specified triggers to the validator under construction.

@param triggers Triggers to be added.

@return Context allowing further construction of the validator using the DSL.