75 lines
1.5 KiB
C#
Executable File
75 lines
1.5 KiB
C#
Executable File
using Exortech.NetReflector;
|
|
using ThoughtWorks.CruiseControl.WebDashboard.Dashboard;
|
|
|
|
namespace ThoughtWorks.CruiseControl.WebDashboard.Configuration
|
|
{
|
|
[ReflectorType("plugins")]
|
|
public class NetReflectorPluginConfiguration : IPluginConfiguration
|
|
{
|
|
private IPlugin[] farmPlugins = new IPlugin[0];
|
|
private IPlugin[] serverPlugins = new IPlugin[0];
|
|
private IPlugin[] projectPlugins = new IPlugin[0];
|
|
private IBuildPlugin[] buildPlugins = new IBuildPlugin[0];
|
|
private string templateLocation;
|
|
|
|
[ReflectorProperty("customTemplates", Required=false)]
|
|
public string TemplateLocation
|
|
{
|
|
get { return templateLocation; }
|
|
set { templateLocation = value; }
|
|
}
|
|
|
|
[ReflectorArray("farmPlugins", Required=true)]
|
|
public IPlugin[] FarmPlugins
|
|
{
|
|
get
|
|
{
|
|
return farmPlugins;
|
|
}
|
|
set
|
|
{
|
|
farmPlugins = value;
|
|
}
|
|
}
|
|
|
|
[ReflectorArray("serverPlugins", Required=true)]
|
|
public IPlugin[] ServerPlugins
|
|
{
|
|
get
|
|
{
|
|
return serverPlugins;
|
|
}
|
|
set
|
|
{
|
|
serverPlugins = value;
|
|
}
|
|
}
|
|
|
|
[ReflectorArray("projectPlugins", Required=true)]
|
|
public IPlugin[] ProjectPlugins
|
|
{
|
|
get
|
|
{
|
|
return projectPlugins;
|
|
}
|
|
set
|
|
{
|
|
projectPlugins = value;
|
|
}
|
|
}
|
|
|
|
[ReflectorArray("buildPlugins", Required=true)]
|
|
public IBuildPlugin[] BuildPlugins
|
|
{
|
|
get
|
|
{
|
|
return buildPlugins;
|
|
}
|
|
set
|
|
{
|
|
buildPlugins = value;
|
|
}
|
|
}
|
|
}
|
|
}
|