~isak-karlsson/syncany/syncany-remote-watch-interval

« back to all changes in this revision

Viewing changes to syncany/src/org/syncany/config/Profile.java

  • Committer: Isak Karlsson
  • Date: 2011-06-06 22:05:05 UTC
  • Revision ID: isak.karlsson@gmail.com-20110606220505-h02dylvmze5ga12e
Added possibility to change the remote watch check interval (to lower costs for i.e. google storage)

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
            // Repo
150
150
            repository = new Repository();
151
151
            repository.load(node.findChildByName("repository"));
 
152
            
 
153
            remoteWatcher.load(node.findChildByName("watcher"));
152
154
                        
153
155
            // Folders
154
156
            folders = new Folders(this);
175
177
 
176
178
        // Folders
177
179
        folders.save(node.findOrCreateChildByXpath("folders", "folders"));
 
180
        
 
181
        // Watcher
 
182
        remoteWatcher.save(node.findOrCreateChildByXpath("watcher", "watcher"));
178
183
    }      
179
184
}