Batches
[Release 1.0.5-rc20-alpha7] deploying a batch abstraction
This commit is contained in:
parent
64d49c661d
commit
aeebf8bea9
10 changed files with 642 additions and 7 deletions
14
Yavsc.Server/Models/IT/SourceCode/Batch.cs
Normal file
14
Yavsc.Server/Models/IT/SourceCode/Batch.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using Yavsc.Abstract.Interfaces;
|
||||
|
||||
namespace Yavsc.Server.Models.IT.SourceCode
|
||||
{
|
||||
public abstract class Batch<TInput> : IBatch<TInput, bool>
|
||||
{
|
||||
public string WorkingDir { get; set; }
|
||||
public string HtmlLogPath { get; set; }
|
||||
public Action<bool> ResultHandler { get; private set; }
|
||||
public string []Args { get; set; }
|
||||
public abstract void Launch(TInput Input);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue