public Map<String, ConfigurationMetadataProperty> find(final boolean strict, final Pattern propertyPattern) {
        val results = new HashMap<String, ConfigurationMetadataProperty>();

        val repository = new CasConfigurationMetadataRepository();
        val props = repository.getRepository().getAllProperties();

        props.forEach((k, v) -> {
            val matched = StreamSupport.stream(RelaxedPropertyNames.forCamelCase(k).spliterator(), false)
                .map(Object::toString)
                .anyMatch(name -> strict
                    ? RegexUtils.matches(propertyPattern, name)
                    : RegexUtils.find(propertyPattern, name));
            if (matched) {
                results.put(k, v);
            }
        });

        return results;
    }
public Map < String , ConfigurationMetadataProperty > find ( final boolean strict , final Pattern propertyPattern ) { val results = new HashMap < String , ConfigurationMetadataProperty > ( ) ; val repository = new CasConfigurationMetadataRepository ( ) ; val props = repository . getRepository ( ) . getAllProperties ( ) ; props . forEach ( ( k , v ) -> { val matched = StreamSupport . stream ( RelaxedPropertyNames . forCamelCase ( k ) . spliterator ( ) , false ) . map ( Object :: toString ) . anyMatch ( name -> strict ? RegexUtils . matches ( propertyPattern , name ) : RegexUtils . find ( propertyPattern , name ) ) ; if ( matched ) { results . put ( k , v ) ; } } ) ; return results ; }
Find.

@param strict          the strict
@param propertyPattern the property pattern
@return the map