Ejemplo n.º 1
0
  @Override
  protected void purge() {
    inputToGenAppsMap.clear();
    targetToGenAppsMap.clear();
    for (GenAppBuildState state : genAppBuildStates.values()) {
      state.purge();
    }

    genAppBuildStates.clear();
    super.purge();
  }
Ejemplo n.º 2
0
  @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);
    }
  }