/// <summary> /// Initialise a new populated <see cref="ProjectStatus"/>. /// </summary> /// <param name="name"></param> /// <param name="category"></param> /// <param name="activity"></param> /// <param name="buildStatus"></param> /// <param name="status"></param> /// <param name="webURL"></param> /// <param name="lastBuildDate"></param> /// <param name="lastBuildLabel"></param> /// <param name="lastSuccessfulBuildLabel"></param> /// <param name="nextBuildTime"></param> /// <param name="buildStage"></param> /// <param name="queue"></param> /// <param name="queuePriority"></param> public ProjectStatus(string name, string category, ProjectActivity activity, IntegrationStatus buildStatus, ProjectIntegratorState status, string webURL, DateTime lastBuildDate, string lastBuildLabel, string lastSuccessfulBuildLabel, DateTime nextBuildTime, string buildStage, string queue, int queuePriority) { this.status = status; this.buildStatus = buildStatus; this.activity = activity; this.name = name; this.category = category; this.webURL = webURL; this.lastBuildDate = new SerializableDateTime(lastBuildDate); this.lastBuildLabel = lastBuildLabel; this.lastSuccessfulBuildLabel = lastSuccessfulBuildLabel; this.nextBuildTime = new SerializableDateTime(nextBuildTime); this.currentBuildStage = buildStage; this.queue = queue; this.queuePriority = queuePriority; }
/// <summary> /// Initialise a new populated <see cref="ProjectStatus"/>. /// </summary> /// <param name="name"></param> /// <param name="buildStatus"></param> /// <param name="lastBuildDate"></param> public ProjectStatus(string name, IntegrationStatus buildStatus, DateTime lastBuildDate) { this.name = name; this.buildStatus = buildStatus; this.lastBuildDate = new SerializableDateTime(lastBuildDate); }