Job Expressions

Expressions can be triggered when jobs are created and closed
This commit is contained in:
Gary Sharp
2016-11-09 22:26:43 +11:00
parent 065b14b158
commit b52cbcb94a
22 changed files with 902 additions and 41 deletions
@@ -10,6 +10,9 @@ namespace Disco.Models.UI.Config.JobPreferences
LocationModes LocationMode { get; set; }
List<string> LocationList { get; set; }
string OnCreateExpression { get; set; }
string OnCloseExpression { get; set; }
List<KeyValuePair<int, string>> LongRunningJobDaysThresholdOptions();
List<KeyValuePair<int, string>> StaleJobMinutesThresholdOptions();
List<KeyValuePair<string, string>> LocationModeOptions();