Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright (C) 2009 eXo Platform SAS.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software 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
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this software; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */
 package org.exoplatform.services.jcr.ext.backup.server.bean.response;

Created by The eXo Platform SAS.
Date: 27.03.2009

Author(s):
Alex Reshetnyak
Version:
$Id: BackupServiceInfoBeen.java 111 2008-11-11 11:11:11Z rainf0x $
 
 public class BackupServiceInfoBean
 {

   
The type of full backup.
 
    private String fullBackupType;

   
The type of incremental backup.
 
    private String incrementalBackupType;

   
The path to backup log folder.
 
    private String backupLogDir;

   
The default incremental job period.
 
    private Long defaultIncrementalJobPeriod;

   
BackupServiceInfoBeen constructor.
 
    public BackupServiceInfoBean()
    {
    }

   
BackupServiceInfoBean constructor.

Parameters:
fullBackupType String, the type of full backup
incrementalBackupType String, the type of incremental backup
backupLogDir String, the backup folder
defaultIncrementalJobPeriod Long, the default incremental job period
 
    public BackupServiceInfoBean(String fullBackupTypeString incrementalBackupTypeString backupLogDir,
       Long defaultIncrementalJobPeriod)
    {
 
       this. = fullBackupType;
       this. = incrementalBackupType;
       this. = backupLogDir;
       this. = defaultIncrementalJobPeriod;
    }

   
getFullBackupType.

Returns:
String return the type of full backup
 
    public String getFullBackupType()
    {
       return ;
    }

   
setFullBackupType.

Parameters:
fullBackupType String, the type of full backup
 
    public void setFullBackupType(String fullBackupType)
   {
      this. = fullBackupType;
   }

   
getIncrementalBackupType.

Returns:
String return the type of incremental backup
   {
      return ;
   }

   
setIncrementalBackupType.

Parameters:
incrementalBackupType String, the type of incremental backup
   public void setIncrementalBackupType(String incrementalBackupType)
   {
      this. = incrementalBackupType;
   }

   
getBackupLogDir.

Returns:
String return the path to backup log folder
   public String getBackupLogDir()
   {
      return ;
   }

   
setBackupLogDir.

Parameters:
backupLogDir String, the path to backup log folder
   public void setBackupLogDir(String backupLogDir)
   {
      this. = backupLogDir;
   }

   
getDefaultIncrementalJobPeriod.

Returns:
Long return the default incremental job period
   {
      return ;
   }

   
setDefaultIncrementalJobPeriod.

Parameters:
defaultIncrementalJobPeriod Long, the default incremental job period
   public void setDefaultIncrementalJobPeriod(Long defaultIncrementalJobPeriod)
   {
      this. = defaultIncrementalJobPeriod;
   }
New to GrepCode? Check out our FAQ X