From d9786cb212283a4ce6b7b315da2b42fc6ba61540 Mon Sep 17 00:00:00 2001 From: PabloJHM Date: Mon, 11 Apr 2016 15:15:22 +0200 Subject: [PATCH] DataGridRow: ProjectGrid lasts 5 builds --- DataGridRow.cs | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 DataGridRow.cs diff --git a/DataGridRow.cs b/DataGridRow.cs new file mode 100644 index 000000000..40f2808b9 --- /dev/null +++ b/DataGridRow.cs @@ -0,0 +1,44 @@ +using System; +using ThoughtWorks.CruiseControl.Core.Reporting.Dashboard.Navigation; +using ThoughtWorks.CruiseControl.Core.Util; +using ThoughtWorks.CruiseControl.Remote; +using ThoughtWorks.CruiseControl.WebDashboard.Resources; + +namespace ThoughtWorks.CruiseControl.WebDashboard.Dashboard +{ + public class DataGridRow + { + private readonly string buildStatus; + private readonly string date; + private readonly string runningTime; + private readonly string link; + + public DataGridRow(string buildStatus, string date, string runningTime, string link) + { + this.buildStatus = buildStatus; + this.date = date; + this.runningTime = runningTime; + this.link = link; + } + + public string BuildStatus + { + get { return buildStatus; } + } + + public string Date + { + get { return date; } + } + + public string RunningTime + { + get { return runningTime; } + } + + public string Link + { + get { return link; } + } + } +}