#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Model.Tasks
{
///
/// Interface IScheduledTaskWorker
///
public interface IScheduledTask
{
///
/// Gets the name of the task
///
/// The name.
string Name { get; }
string Key { get; }
///
/// Gets the description.
///
/// The description.
string Description { get; }
///
/// Gets the category.
///
/// The category.
string Category { get; }
///
/// Executes the task
///
/// The cancellation token.
/// The progress.
/// Task.
Task Execute(CancellationToken cancellationToken, IProgress progress);
///
/// Gets the default triggers that define when the task will run.
///
/// The default triggers that define when the task will run.
IEnumerable GetDefaultTriggers();
}
}