code: private String getRepositoryBackupToFullState(int state)
     {
        String st = "";
        switch (state)
        {
  
           case RepositoryBackupChain.FINISHED :
              st = "finished";
              break;
  
           case RepositoryBackupChain.WORKING :
              st = "working";
              break;
  
           case RepositoryBackupChain.INITIALIZED :
              st = "initialized";
              break;
  
           case RepositoryBackupChain.FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING :
              st = "finished";
              break;
           default :
              break;
        }
  
        return st;
     }
docs: getState.
  
  @param state
  value of state
  @return String sate