Files
2025-09-29 00:52:08 +02:00

50 lines
1.1 KiB
C#
Executable File

using Exortech.NetReflector;
using ThoughtWorks.CruiseControl.Core.Reporting.Dashboard.Navigation;
namespace ThoughtWorks.CruiseControl.WebDashboard.Configuration
{
[ReflectorType("server")]
public class ServerLocation: IServerSpecifier
{
private string serverName = string.Empty;
private string url = string.Empty;
private bool allowForceBuild = true;
private bool allowStartStopBuild = true;
[ReflectorProperty("name")]
public string Name
{
get { return serverName; }
set { serverName = value; }
}
[ReflectorProperty("url")]
public string Url
{
get { return url; }
set { url = value; }
}
[ReflectorProperty("allowForceBuild", Required=false)]
public bool AllowForceBuild
{
get { return allowForceBuild; }
set { allowForceBuild = value; }
}
[ReflectorProperty("allowStartStopBuild", Required=false)]
public bool AllowStartStopBuild
{
get { return allowStartStopBuild; }
set { allowStartStopBuild = value; }
}
public string ServerName
{
get { return serverName; }
set { serverName = value; }
}
}
}