// Copyright Epic Games, Inc. All Rights Reserved. using System.Collections.Generic; namespace EpicGames.BuildGraph { /// /// Defines a badge which gives an at-a-glance summary of part of the build, and can be displayed in UGS /// public class BgBadgeDef { /// /// Name of this badge /// public string Name { get; } /// /// Depot path to the project that this badge applies to. Used for filtering in UGS. /// public string Project { get; } /// /// The changelist to post the badge for /// public int Change { get; } /// /// Set of nodes that this badge reports the status of /// public HashSet Nodes { get; } = new HashSet(); /// /// Constructor /// /// Name of this report /// Depot path to the project that this badge applies to /// The changelist to post the badge for public BgBadgeDef(string inName, string inProject, int inChange) { Name = inName; Project = inProject; Change = inChange; } /// /// Get the name of this badge /// /// The name of this badge public override string ToString() { return Name; } } }