@Override protected void purge() { inputToGenAppsMap.clear(); targetToGenAppsMap.clear(); for (GenAppBuildState state : genAppBuildStates.values()) { state.purge(); } genAppBuildStates.clear(); super.purge(); }
@Override protected void doLoad(InputStream stream) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); String line; while ((line = reader.readLine()) != null) { if (line.length() == 0) break; Path genappPath = new Path(line); GenAppBuildState state = new GenAppBuildState(this, genappPath); state.load(); genAppBuildStates.put(genappPath, state); } }