/** * Checks if */ public void modificationCheck() { loadAll(true); }
/** * Walks all files in the repository (via {@link #iterate()} and adds them * if not found in the database. * * If modificationCheck is true, then a change in the hash for a file in * the repository will cause the old file to be removed from the repository * <pre>(uuid == null)</pre> and a new file created in its place. * * @param modificationCheck * @return See above. */ public List<OriginalFile> loadAll(final boolean modificationCheck) { return loadAll(modificationCheck, null); }
/** * Check for updates to scripts, modifying database accordingly. * Called when Blitz is configured. */ public void checkForScriptUpdates() { log.debug("checking for updates to scripts"); try { loadAll(true); } catch (RemovedSessionException rse) { log.error("Script failure!!! RemovedSession on startup: are we testing?"); } }
public Object call() throws Exception { List<OriginalFile> files = scripts.loadAll(true, mimetype); IceMapper mapper = new IceMapper(); return mapper.map(files); } });
public Object call() throws Exception { List<OriginalFile> files = scripts.loadAll(true); // FIXME IceMapper mapper = new IceMapper(); return mapper.map(files); } });
loader = new RootLoader(reg, ctx, roles); Slf4JStopWatch list = sw("list"); List<OriginalFile> files = scripts.loadAll(true); list.stop(); for (OriginalFile file : files) {