code: public void addJobEntry(BackupJob job)
     {
        // jobEntries
        try
        {
           JobEntryInfo info = new JobEntryInfo();
           info.setDate(Calendar.getInstance());
           info.setType(job.getType());
           info.setState(job.getState());
           info.setURL(job.getStorageURL());
  
           logWriter.write(info, config);
        }
        catch (IOException e)
        {
           logger.error("Can't add job", e);
        }
        catch (XMLStreamException e)
        {
           logger.error("Can't add job", e);
        }
        catch (BackupOperationException e)
        {
           logger.error("Can't add job", e);
        }
     }
docs: Adding the the backup job.
  
  @param job
  BackupJob, the backup job