public List createCommands()

in src/main/java/org/apache/nutch/webui/client/impl/RemoteCommandsBatchFactory.java [40:49]


  public List<RemoteCommand> createCommands(Crawl crawl) {
    this.crawl = crawl;
    this.remoteCommands = Lists.newArrayList();

    remoteCommands.add(inject());
    for (int i = 0; i < crawl.getNumberOfRounds(); i++) {
      remoteCommands.addAll(createBatchCommands());
    }
    return remoteCommands;
  }