class CachePropertiesUtil {

    public static List<CacheConfiguration> getCacheConfigurations(){
        List<CacheConfiguration> openmrsCacheConfigurationList = new ArrayList<>();
        Resource[] resourceFromClassPath = getResourceFromClassPath();
        Arrays.stream(resourceFromClassPath)
                .forEach(r -> addCacheConfigsFormResourceToList(r, openmrsCacheConfigurationList));

        return openmrsCacheConfigurationList;
    }

    private  CachePropertiesUtil();

}