code: public RepositoryBackupChain findRepositoryBackup(String repository)
     {
        Iterator<RepositoryBackupChain> it = currentRepositoryBackups.iterator();
        while (it.hasNext())
        {
           RepositoryBackupChain chain = it.next();
           if (repository.equals(chain.getBackupConfig().getRepository()))
           {
              return chain;
           }
        }
        return null;
     }
docs: {@inheritDoc}