Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright (C) 2003-2010 eXo Platform SAS.
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Affero General Public License
   * as published by the Free Software Foundation; either version 3
   * of the License, or (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see<http://www.gnu.org/licenses/>.
  */
 package org.exoplatform.services.jcr.ext.backup;
 
 import java.io.File;

Created by The eXo Platform SAS.
Date: 2010

Author(s):
Alex Reshetnyak
Version:
$Id$
 
 public class RepositoryBackupConfig
 {
   
The backup type.
 
    private int backupType;

   
The repository name.
 
    private String repository;

   
The incremental job period.
 
    private long incrementalJobPeriod;

   
The incremental job number (the repetition numper).
 
    private int incrementalJobNumber;

   
The backup directory.
 
    private File backupDir;

   
Getting incremental job period.

Returns:
long return incremental job period.
 
    public long getIncrementalJobPeriod()
    {
       return ;
    }

   
Setting incremental job period.

Parameters:
incrementalJobPeriod long, the incremental job period
 
    public void setIncrementalJobPeriod(long incrementalJobPeriod)
    {
       this. = incrementalJobPeriod;
    }

   
Getting incremental job period (the repetition period).

Returns:
int return incremental job period
 
    public int getIncrementalJobNumber()
    {
       return ;
    }

   
Setting incremental job number (the repetition period).

Parameters:
incrementalJobNumber int, the incremental job number
 
    public void setIncrementalJobNumber(int incrementalJobNumber)
    {
       this. = incrementalJobNumber;
    }

   
Getting the repository name.

Returns:
String return the repository name
   public String getRepository()
   {
      return ;
   }

   
Setting the repository name.

Parameters:
repository String, the repository name
   public void setRepository(String repository)
   {
      this. = repository;
   }

   
Getting backup directory.

Returns:
File return c
   public File getBackupDir()
   {
      return ;
   }

   
Setting the backup directory.

Parameters:
backupDir File, the backup directory
   public void setBackupDir(File backupDir)
   {
      this. = backupDir;
   }

   
Getting the backup type.

Returns:
int return the backup type
   public int getBackupType()
   {
      return ;
   }

   
Setting the backup type.

Parameters:
backupType int, the backup type
   public void setBackupType(int backupType)
   {
      this. = backupType;
   }
New to GrepCode? Check out our FAQ X