code: public BackupChain findBackup(String repository, String workspace)
     {
        Iterator<BackupChain> it = currentBackups.iterator();
        while (it.hasNext())
        {
           BackupChain chain = it.next();
           if (repository.equals(chain.getBackupConfig().getRepository())
              && workspace.equals(chain.getBackupConfig().getWorkspace()))
           {
              return chain;
           }
        }
        return null;
     }
docs: {@inheritDoc}