Package net.sourceforge.fullsync

Examples of net.sourceforge.fullsync.RuleSet


   * to the given src and dst if they are directories
   */
  @Override
  public void synchronizeDirectories(File src, File dst, RuleSet oldrules, Task parent) throws DataParseException, IOException {
    // update rules to current directory
    RuleSet rules = updateRules(src, dst, oldrules);

    Collection<File> srcFiles = src.getChildren();
    Collection<File> dstFiles = new ArrayList<File>(dst.getChildren());

    for (File sfile : srcFiles) {
View Full Code Here


  @Override
  public TaskTree execute(Profile profile, boolean interactive) throws FileSystemException, URISyntaxException, DataParseException, IOException {
    Site d1 = null, d2 = null;

    RuleSet rules = profile.getRuleSet().createRuleSet();

    ActionDecider actionDecider;
    if (profile.getSynchronizationType().equals("Publish/Update")) {
      actionDecider = new PublishActionDecider();
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.fullsync.RuleSet

Copyright © 2018 www.massapicom. 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.