Examples of BackupConfigBean


Examples of org.exoplatform.services.jcr.ext.backup.server.bean.BackupConfigBean

    */
   public DetailedInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime,
      int state, String repositroryName)
   {
      super(type, chainLog, startedTime, finishedTime, state, repositroryName);
      this.backupConfig = new BackupConfigBean(chainLog.getBackupConfig());
   }
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.backup.server.bean.BackupConfigBean

   public void testStart() throws Exception
   {
      RepoInfo rInfo = createRepositoryAndGetSession();

      BackupConfigBean configBean =
         new BackupConfigBean(BackupManager.FULL_AND_INCREMENTAL, backupDir.getPath(), 10000l);
     
      TesterContainerResponce cres = makePostRequest(new URI(HTTP_BACKUP_AGENT_PATH
         + HTTPBackupAgent.Constants.OperationType.START_BACKUP + "/" + rInfo.rName + "/" + rInfo.wsName), configBean);

      assertEquals(200, cres.getStatus());
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.backup.server.bean.BackupConfigBean

   public void testStartBackupRepository() throws Exception
   {
      RepoInfo rInfo = createRepositoryAndGetSession();

      BackupConfigBean configBean =
         new BackupConfigBean(BackupManager.FULL_AND_INCREMENTAL, backupDir.getPath(), 10000l);

      TesterContainerResponce cres =
         makePostRequest(new URI(HTTP_BACKUP_AGENT_PATH
            + HTTPBackupAgent.Constants.OperationType.START_BACKUP_REPOSITORY + "/" + rInfo.rName), configBean);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.