You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using JobDriver.Execution;
|
|
using JobDriver.Utility;
|
|
|
|
namespace JobDriver
|
|
{
|
|
/// <summary>
|
|
/// Settings for the driver
|
|
/// </summary>
|
|
class DriverSettings
|
|
{
|
|
/// <summary>
|
|
/// The executor to use for jobs
|
|
/// </summary>
|
|
public string Executor { get; set; } = WorkspaceExecutor.Name;
|
|
|
|
/// <summary>
|
|
/// Settings for the local executor
|
|
/// </summary>
|
|
public LocalExecutorSettings LocalExecutor { get; set; } = new LocalExecutorSettings();
|
|
|
|
/// <summary>
|
|
/// Settings for the perforce executor
|
|
/// </summary>
|
|
public PerforceExecutorSettings PerforceExecutor { get; set; } = new PerforceExecutorSettings();
|
|
|
|
/// <summary>
|
|
/// List of process names to terminate after a lease completes, but not after a job step
|
|
/// </summary>
|
|
public List<ProcessToTerminate> ProcessesToTerminate { get; } = new List<ProcessToTerminate>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Specifies a process to terminate
|
|
/// </summary>
|
|
public class ProcessToTerminate
|
|
{
|
|
/// <summary>
|
|
/// Name of the process
|
|
/// </summary>
|
|
public string Name { get; set; } = String.Empty;
|
|
|
|
/// <summary>
|
|
/// When to terminate this process
|
|
/// </summary>
|
|
public List<TerminateCondition>? When { get; init; }
|
|
}
|
|
}
|