package com.google.graphgeckos.dashboard.api.components;

import java.util.ArrayList;
import java.util.List;

/**
 * Represents the response json with the
 * aggregated buildbot data.
 */
public class BuildInfo {
  
  private final String commitHash;
  private final String timestamp;
  private final String repository;
  private final String branch;

  private final List<Builder> builders;

  public BuildInfo(String commitHash, String timestamp, String repository,
                   String branch, List<Builder> builders) {
    this.commitHash = commitHash;
    this.timestamp = timestamp;
    this.repository = repository;
    this.branch = branch;
    this.builders = new ArrayList<>(builders);
  }

  public String getCommitHash() {
    return commitHash;
  }

  public String getTimestamp() {
    return timestamp;
  }

  public String getRepository() {
    return repository;
  }

  public String getBranch() {
    return branch;
  }

  public List<Builder> getBuilders() {
    return builders;
  }

}

@@ -108,13 +108,9 @@
 ;%0A%0A/
-**%0A *
+/
  Rep
@@ -143,19 +143,16 @@
 with the
-%0A *
  aggrega
@@ -174,12 +174,8 @@
 ta.%0A
- */%0A
 publ
@@ -195,18 +195,16 @@
 dInfo %7B%0A
-  
 %0A  priva

change comment style