Examples of executeProfile()


Examples of net.sourceforge.fullsync.Synchronizer.executeProfile()

  }

  @Override
  public void profileExecutionScheduled(Profile profile) {
    Synchronizer sync = guiController.getSynchronizer();
    TaskTree tree = sync.executeProfile(profile, false);
    if (tree == null) {
      profile.setLastError(1, Messages.getString("MainWindow.Error_Comparing_Filesystems")); //$NON-NLS-1$
    }
    else {
      int errorLevel = sync.performActions(tree);
View Full Code Here

Examples of net.sourceforge.fullsync.Synchronizer.executeProfile()

      final Synchronizer sync = new Synchronizer();

      // Apply executing options
      if (line.hasOption("r")) {
        Profile p = profileManager.getProfile(line.getOptionValue("r"));
        TaskTree tree = sync.executeProfile(p, false);
        sync.performActions(tree);
        p.setLastUpdate(new Date());
        profileManager.save();
        return;
      }
View Full Code Here

Examples of net.sourceforge.fullsync.Synchronizer.executeProfile()

      if (line.hasOption("d")) {
        profileManager.addSchedulerListener(new ProfileSchedulerListener() {
          @Override
          public void profileExecutionScheduled(Profile profile) {
            TaskTree tree = sync.executeProfile(profile, false);
            if (tree == null) {
              profile.setLastError(1, "An error occured while comparing filesystems.");
            }
            else {
              int errorLevel = sync.performActions(tree);
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.