public void checkRequired ( String key ) throws InitializationFailedException { if ( properties . get ( key ) == null && getConfigurationValue ( key ) == null ) { throw new InitializationFailedException ( "Missing required property in config: " + key ) ; } }
Checks if a property value for a given key exists .