using System.Collections.Generic; using System.Threading.Tasks; using DeadlineNet.DTO.Jobs; using DeadlineNet.DTO.Slaves; using Plume.Interfaces.Services; namespace JD.Deadline.Service { public interface IDeadlineService : IService { void SetServerUrl(string serverUrl); Task GetBinDirectoryAsync(); ICollection GetAllGroupNames(); Task> GetAllGroupNamesAsync(); Task> GetAllJobsAsync(); Task> GetAllSlavesAsync(); /// /// Submit a job on Deadline. Returns the id of the submitted job. /// Task SubmitJobAsync(JobInfo jobInfo, PluginInfo pluginInfo, ICollection auxFiles); } }