using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Common.ScheduledTasks
{
///
/// Interface IScheduledTaskWorker
///
public interface IScheduledTask
{
///
/// Gets the name of the task
///
/// The name.
string Name { 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.
///
/// IEnumerable{BaseTaskTrigger}.
IEnumerable GetDefaultTriggers();
}
}