Files
Disco/Disco.Services/Tasks/IScheduledTaskStatus.cs
T
Gary Sharp 27c21175d7 Certificate/wireless plugins; major refactoring
Migrate much of BI to Services.
Added Wireless Profile Provider plugin feature.
Added Certificate Authority Provider plugin feature.
Modified Certificate Provider plugin feature.
Database migration v17, for Device Profiles.
Enrolment Client Updated to support CA Certificates, Wireless Profiles
and Hardware Info.
New Client Enrolment Protocol to support new features.
Plugin Manifest Generator added to main solution.
Improved AD search performance.
2016-09-28 20:17:55 +10:00

45 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Services.Tasks
{
public interface IScheduledTaskStatus
{
byte Progress { get; }
string CurrentProcess { get; }
string CurrentDescription { get; }
bool IgnoreCurrentProcessChanges { get; set; }
bool IgnoreCurrentDescription { get; set; }
double ProgressMultiplier { get; set; }
byte ProgressOffset { get; set; }
string FinishedMessage { get; }
string FinishedUrl { get; }
Exception TaskException { get; }
void UpdateStatus(byte Progress);
void UpdateStatus(double Progress);
void UpdateStatus(string CurrentDescription);
void UpdateStatus(byte Progress, string CurrentDescription);
void UpdateStatus(double Progress, string CurrentDescription);
void UpdateStatus(byte Progress, string CurrentProcess, string CurrentDescription);
void UpdateStatus(double Progress, string CurrentProcess, string CurrentDescription);
void SetFinishedUrl(string FinishedUrl);
void SetFinishedMessage(string FinishedMessage);
void Finished();
void Finished(string FinishedMessage);
void Finished(string FinishedMessage, string FinishedUrl);
void SetTaskException(Exception TaskException);
void LogWarning(string Message);
void LogInformation(string Message);
}
}