aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/RemoteJobUpload/IRemoteJobUploadProvider.cs
blob: b27694f19229d86fc5baa7082ed1416eaa11d3e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Common.FileSystem;
using Tango.PPC.Shared.RemoteJobUpload;

namespace Tango.FSE.Common.RemoteJobUpload
{
    /// <summary>
    /// Represents a remote machine PPC job upload provider.
    /// </summary>
    public interface IRemoteJobUploadProvider
    {
        /// <summary>
        /// Uploads the specified job file to the remote connected machine.
        /// </summary>
        /// <param name="filePath">The job file path.</param>
        /// <param name="jobType">Remote job type.</param>
        /// <param name="name">Optional job name</param>
        /// <returns></returns>
        Task UploadJob(String filePath, RemoteJobUploadType jobType, String name = null);
    }
}