Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.BuildGraph/BgAggregate.cs
ben marsh 995a5b568f Horde: Convert EpicGames.BuildGraph project to enable #nullable.
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18114409 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)

[CL 18124362 by ben marsh in ue5-release-engine-test branch]
2021-11-09 23:29:42 -05:00

45 lines
1014 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EpicGames.BuildGraph
{
/// <summary>
/// Defines a agggregate within a graph, which give the combined status of one or more job steps, and allow building several steps at once.
/// </summary>
public class BgAggregate
{
/// <summary>
/// Name of this badge
/// </summary>
public string Name { get; }
/// <summary>
/// Set of nodes that must be run for this label to be shown.
/// </summary>
public HashSet<BgNode> RequiredNodes { get; } = new HashSet<BgNode>();
/// <summary>
/// Constructor
/// </summary>
/// <param name="InName">Name of this aggregate</param>
public BgAggregate(string InName)
{
Name = InName;
}
/// <summary>
/// Get the name of this label
/// </summary>
/// <returns>The name of this label</returns>
public override string ToString()
{
return Name;
}
}
}