2019-12-26 23:01:54 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-09-27 16:21:33 -04:00
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Tools.DotNETCommon;
|
|
|
|
|
|
|
|
|
|
namespace BuildAgent
|
|
|
|
|
{
|
|
|
|
|
abstract class ProgramMode
|
|
|
|
|
{
|
|
|
|
|
public virtual void Configure(CommandLineArguments Arguments)
|
|
|
|
|
{
|
|
|
|
|
Arguments.ApplyTo(this);
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-01 13:55:24 -04:00
|
|
|
public virtual List<KeyValuePair<string, string>> GetParameters(CommandLineArguments Arguments)
|
2019-09-27 16:21:33 -04:00
|
|
|
{
|
|
|
|
|
return CommandLineArguments.GetParameters(GetType());
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-03 10:50:19 -04:00
|
|
|
public abstract int Execute();
|
2019-09-27 16:21:33 -04:00
|
|
|
}
|
|
|
|
|
}
|