Exemplo n.º 1
0
        private FreeStyleProject(string Class, string Name, string Url, string Color, List <FreeStyleProjectactions> Actions, string Description, string DisplayName, string DisplayNameOrNull, string FullDisplayName, string FullName, bool?Buildable, List <FreeStyleBuild> Builds, FreeStyleBuild FirstBuild, List <FreeStyleProjecthealthReport> HealthReport, bool?InQueue, bool?KeepDependencies, FreeStyleBuild LastBuild, FreeStyleBuild LastCompletedBuild, string LastFailedBuild, FreeStyleBuild LastStableBuild, FreeStyleBuild LastSuccessfulBuild, string LastUnstableBuild, string LastUnsuccessfulBuild, int?NextBuildNumber, string QueueItem, bool?ConcurrentBuild, NullSCM Scm)
        {
            this.Class = Class;

            this.Name = Name;

            this.Url = Url;

            this.Color = Color;

            this.Actions = Actions;

            this.Description = Description;

            this.DisplayName = DisplayName;

            this.DisplayNameOrNull = DisplayNameOrNull;

            this.FullDisplayName = FullDisplayName;

            this.FullName = FullName;

            this.Buildable = Buildable;

            this.Builds = Builds;

            this.FirstBuild = FirstBuild;

            this.HealthReport = HealthReport;

            this.InQueue = InQueue;

            this.KeepDependencies = KeepDependencies;

            this.LastBuild = LastBuild;

            this.LastCompletedBuild = LastCompletedBuild;

            this.LastFailedBuild = LastFailedBuild;

            this.LastStableBuild = LastStableBuild;

            this.LastSuccessfulBuild = LastSuccessfulBuild;

            this.LastUnstableBuild = LastUnstableBuild;

            this.LastUnsuccessfulBuild = LastUnsuccessfulBuild;

            this.NextBuildNumber = NextBuildNumber;

            this.QueueItem = QueueItem;

            this.ConcurrentBuild = ConcurrentBuild;

            this.Scm = Scm;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Sets value for FreeStyleProject.Scm property.
 /// </summary>
 /// <param name="value">Scm</param>
 public FreeStyleProjectBuilder Scm(NullSCM value)
 {
     _Scm = value;
     return(this);
 }