Files
Ben Marsh bb0e506aac BuildGraph: Rename classes to reduce boilerplate when writing scripts.
* Expression classes (nodes, aggregates, graphs, etc...) are now called BgNode, BgAggregate, etc...
* Evaluated and instantiated objects used by BuildGraph internals are now called BgNodeDef, BgAggregateDef, etc...

#preflight 62b6374161016695a6545b08

[CL 20818158 by Ben Marsh in ue5-main branch]
2022-06-24 18:30:51 -04:00

47 lines
1.0 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
namespace EpicGames.BuildGraph
{
/// <summary>
/// Defines a report to be generated as part of the build.
/// </summary>
public class BgReport
{
/// <summary>
/// Name of this trigger
/// </summary>
public string Name { get; }
/// <summary>
/// Set of nodes to include in the report
/// </summary>
public HashSet<BgNodeDef> Nodes { get; } = new HashSet<BgNodeDef>();
/// <summary>
/// List of users to notify with this report
/// </summary>
public HashSet<string> NotifyUsers { get; } = new HashSet<string>(StringComparer.InvariantCultureIgnoreCase);
/// <summary>
/// Constructor
/// </summary>
/// <param name="inName">Name of this report</param>
public BgReport(string inName)
{
Name = inName;
}
/// <summary>
/// Get the name of this report
/// </summary>
/// <returns>The name of this report</returns>
public override string ToString()
{
return Name;
}
}
}