code: private void initializeParameters(InitParams initParams)
     {
        ValueParam paramRepository = initParams.getValueParam(REPOSITORY_NAME);
        repositoryName = paramRepository != null ? paramRepository.getValue() : null;
  
        ValueParam paramStoragePath = initParams.getValueParam(STORAGE_PATH);
        storagePath = paramStoragePath != null ? paramStoragePath.getValue() : STORAGE_PATH_DEFAULT;
  
        ValueParam paramStorageWorkspace = initParams.getValueParam(STORAGE_WORKSPACE);
        storageWorkspace = paramStorageWorkspace != null ? paramStorageWorkspace.getValue() : null;
  
        ValueParam paramDisableCache = initParams.getValueParam(CACHE_ENABLED);
        cacheEnabled =
           paramDisableCache != null ? Boolean.parseBoolean(paramDisableCache.getValue()) : CACHE_ENABLED_DEFAULT;
  
        if (repositoryName != null)
        {
           LOG.info("Repository from configuration file: " + repositoryName);
        }
  
        if (storageWorkspace != null)
        {
           LOG.info("Workspace from configuration file: " + storageWorkspace);
        }
  
        if (storagePath != null)
        {
           LOG.info("Root node from configuration file: " + storagePath);
        }
  
        LOG.info("Cache is " + (cacheEnabled ? "enabled" : "disabled"));
     }
docs: Read parameters from file.