// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomationTool
{
///
/// Defines a badge which gives an at-a-glance summary of part of the build, and can be displayed in UGS
///
class Badge
{
///
/// Name of this badge
///
public readonly string Name;
///
/// Depot path to the project that this badge applies to. Used for filtering in UGS.
///
public readonly string Project;
///
/// The changelist to post the badge for
///
public readonly int Change;
///
/// Set of nodes that this badge reports the status of
///
public HashSet Nodes = 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 Badge(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;
}
}
}