47 lines
1.0 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|