@Override
    public void onLineAvailable(String line, Key outputType) {
      if (outputType == ProcessOutputTypes.STDOUT) {
        myOutputCollector.outputLineReceived(line);
      }
      else if (outputType == ProcessOutputTypes.STDERR &&
               !looksLikeProgress(line)) {
        myOutputCollector.errorLineReceived(line);
      }
    }
@Override
    public void onLineAvailable(String line, Key outputType)