Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New File - DataGridRow.cs #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions project/WebDashboard/Dashboard/DataGridRow.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
using System;
using System.Drawing;
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; }
}
}
}