Files
UnrealEngineUWP/Engine/Source/Programs/Horde/HordeServer/Models/TestData.cs
Ben Marsh 5abbc95b6e Add missing copyright notices.
[CL 16160939 by Ben Marsh in ue5-main branch]
2021-04-29 15:35:57 -04:00

60 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StreamId = HordeServer.Utilities.StringId<HordeServer.Models.IStream>;
using TemplateRefId = HordeServer.Utilities.StringId<HordeServer.Models.TemplateRef>;
namespace HordeServer.Models
{
/// <summary>
/// Stores information about the results of a test
/// </summary>
public interface ITestData
{
/// <summary>
/// Unique id of the test data
/// </summary>
ObjectId Id { get; }
/// <summary>
/// Stream that generated the test data
/// </summary>
StreamId StreamId { get; }
/// <summary>
/// The template reference id
/// </summary>
TemplateRefId TemplateRefId { get; }
/// <summary>
/// The job which produced the data
/// </summary>
ObjectId JobId { get; }
/// <summary>
/// The step that ran
/// </summary>
SubResourceId StepId { get; }
/// <summary>
/// The changelist number that contained the data
/// </summary>
int Change { get; }
/// <summary>
/// Key used to identify the particular data
/// </summary>
string Key { get; }
/// <summary>
/// The data stored for this test
/// </summary>
BsonDocument Data { get; }
}
}