class FileParseStatusAnswerer extends Answerer {

  @Nonnull
  @VisibleForTesting
  static Row getRow(
      String filename, ParseStatus status, @Nullable Collection<String> hostsProduced) {
    Row.TypedRowBuilder builder = Row.builder(TABLE_METADATA.toColumnMap());
    builder.put(COL_FILENAME, filename);
    builder.put(COL_PARSE_STATUS, status.toString());

    ImmutableList.Builder<Node> nodesProduced = ImmutableList.builder();
    for (String hostname : firstNonNull(hostsProduced, Collections.<String>emptyList())) {
      nodesProduced.add(new Node(hostname));
    }
    builder.put(COL_NODES, nodesProduced.build());
    return builder.build();
  }

    FileParseStatusAnswerer(FileParseStatusQuestion question, IBatfish batfish);

}