1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

moved jobs around again ;)

This commit is contained in:
kay.one 2013-03-04 21:37:33 -08:00
parent 50674d388c
commit 568d4b8eeb
29 changed files with 70 additions and 121 deletions

View File

@ -6,6 +6,7 @@
using FizzWare.NBuilder;
using Moq;
using NUnit.Framework;
using NzbDrone.Core.Jobs.Implementations;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Jobs;

View File

@ -5,6 +5,7 @@
using FizzWare.NBuilder;
using Moq;
using NUnit.Framework;
using NzbDrone.Core.Jobs.Implementations;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Jobs;

View File

@ -2,6 +2,7 @@
using Moq;
using NUnit.Framework;
using NzbDrone.Core.Jobs.Implementations;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Jobs;
using NzbDrone.Core.Model.Notification;

View File

@ -1,8 +1,8 @@
using System;
using System;
using System.Linq;
using NzbDrone.Core.Model.Notification;
namespace NzbDrone.Core.Jobs.Framework
namespace NzbDrone.Core.Jobs
{
public interface IJob
{

View File

@ -1,14 +1,13 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class BacklogSearchJob : IJob
{

View File

@ -1,12 +1,9 @@
using System.Linq;
using System;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using System.Linq;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Converting;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class CleanupRecycleBinJob : IJob
{

View File

@ -1,14 +1,11 @@
using System.Linq;
using System;
using System.Linq;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Converting;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class ConvertEpisodeJob : IJob
{

View File

@ -1,13 +1,11 @@
using System.Linq;
using System;
using System.Linq;
using NLog;
using NzbDrone.Common;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class DeleteSeriesJob : IJob
{

View File

@ -1,16 +1,14 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Helpers;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class DiskScanJob : IJob
{

View File

@ -1,12 +1,9 @@
using System.Linq;
using System;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using System.Linq;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Converting;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class EmptyRecycleBinJob : IJob
{

View File

@ -1,15 +1,12 @@
using System.Linq;
using System;
using System.Linq;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.DecisionEngine;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers.Search;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class EpisodeSearchJob : IJob
{

View File

@ -1,16 +1,14 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NLog;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
/// <summary>
/// This job processes newly added jobs by downloading their info

View File

@ -1,16 +1,12 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class PastWeekBacklogSearchJob : IJob
{

View File

@ -1,13 +1,12 @@
using System.Linq;
using System;
using System.Linq;
using NLog;
using NzbDrone.Common;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class PostDownloadScanJob : IJob
{

View File

@ -1,16 +1,13 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class RecentBacklogSearchJob : IJob
{

View File

@ -1,16 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System;
using NLog;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class RefreshEpisodeMetadata : IJob
{

View File

@ -1,17 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System;
using NLog;
using NzbDrone.Common.Eventing;
using NzbDrone.Core.Download;
using NzbDrone.Core.ExternalNotification;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class RenameSeasonJob : IJob
{

View File

@ -1,16 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System;
using NLog;
using NzbDrone.Common.Eventing;
using NzbDrone.Core.Download;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class RenameSeriesJob : IJob
{

View File

@ -1,18 +1,16 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.DecisionEngine;
using NzbDrone.Core.Download;
using NzbDrone.Core.Indexers;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.DecisionEngine;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class RssSyncJob : IJob
{

View File

@ -1,14 +1,12 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class SeasonSearchJob : IJob
{

View File

@ -1,14 +1,11 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class SeriesSearchJob : IJob
{

View File

@ -1,18 +1,14 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.ReferenceData;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Helpers;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.ReferenceData;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class UpdateInfoJob : IJob
{

View File

@ -1,11 +1,9 @@
using System;
using System;
using System.Linq;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.ReferenceData;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class UpdateSceneMappingsJob : IJob
{

View File

@ -1,14 +1,10 @@
using System;
using System.Collections.Generic;
using System;
using System.Linq;
using NLog;
using NzbDrone.Core.Helpers;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
namespace NzbDrone.Core.Jobs
namespace NzbDrone.Core.Jobs.Implementations
{
public class XemUpdateJob : IJob
{

View File

@ -9,7 +9,7 @@
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
namespace NzbDrone.Core.Jobs.Framework
namespace NzbDrone.Core.Jobs
{
public interface IJobController
{

View File

@ -1,8 +1,8 @@
using System.Linq;
using System;
using System.Linq;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Jobs.Framework
namespace NzbDrone.Core.Jobs
{
public class JobDefinition : ModelBase
{

View File

@ -1,7 +1,7 @@
using System.Linq;
using System;
using System.Linq;
namespace NzbDrone.Core.Jobs.Framework
namespace NzbDrone.Core.Jobs
{
public class JobQueueItem : IEquatable<JobQueueItem>
{

View File

@ -5,7 +5,7 @@
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Lifecycle;
namespace NzbDrone.Core.Jobs.Framework
namespace NzbDrone.Core.Jobs
{
public interface IJobRepository : IInitializable, IBasicRepository<JobDefinition>
{

View File

@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Qualities
@ -14,7 +11,7 @@ public interface IQualitySizeRepository : IBasicRepository<QualitySize>
public class QualitySizeRepository : BasicRepository<QualitySize>, IQualitySizeRepository
{
public QualitySizeRepository(IObjectDatabase database)
: base(database)
: base(database)
{
}