public DataProviderContext on ( final Trigger ... triggers ) { final List < Trigger > registeredTriggers = new ArrayList < Trigger > ( ) ; if ( triggers != null ) { Collections . addAll ( registeredTriggers , triggers ) ; } return new DataProviderContext ( registeredTriggers ) ; }
Adds the first triggers to the validator .