code: public JobWorkspaceRestore getLastRestore(String repositoryName, String workspaceName)
     {
        for (int i = restoreJobs.size() - 1; i >= 0; i--)
        {
           JobWorkspaceRestore job = restoreJobs.get(i);
  
           if (repositoryName.equals(job.getRepositoryName()) && workspaceName.equals(job.getWorkspaceName()))
           {
              return job;
  
           }
        }
  
        return null;
     }
docs: {@inheritDoc}