@ Nonnull public < T extends IValidationExecutorSet > T registerValidationExecutorSet ( @ Nonnull final T aVES ) { ValueEnforcer . notNull ( aVES , "VES" ) ; final VESID aKey = aVES . getID ( ) ; m_aRWLock . writeLocked ( ( ) -> { if ( m_aMap . containsKey ( aKey ) ) throw new IllegalStateException ( "Another validation executor set with the ID '" + aKey + "' is already registered!" ) ; m_aMap . put ( aKey , aVES ) ; } ) ; return aVES ; }
Register a validation executor set into this registry .