moved jobs around again ;)

pull/6/head
kay.one 12 years ago
parent 50674d388c
commit 568d4b8eeb

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

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

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

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

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

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

@ -1,14 +1,11 @@
using System.Linq;
using System; using System;
using System.Linq;
using NLog; using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.Converting; 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 public class ConvertEpisodeJob : IJob
{ {

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

@ -1,16 +1,14 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NLog; using NLog;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Helpers; using NzbDrone.Core.Helpers;
using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers; 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 public class DiskScanJob : IJob
{ {

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

@ -1,15 +1,12 @@
using System.Linq;
using System; using System;
using System.Linq;
using NLog; 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.DecisionEngine;
using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers.Search; 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 public class EpisodeSearchJob : IJob
{ {

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

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

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

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

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

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

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

@ -1,18 +1,16 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using NLog; using NLog;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.DecisionEngine;
using NzbDrone.Core.Download; using NzbDrone.Core.Download;
using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Model; using NzbDrone.Core.Model;
using NzbDrone.Core.Model.Notification; 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 public class RssSyncJob : IJob
{ {

@ -1,14 +1,12 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NLog; using NLog;
using NzbDrone.Core.Jobs.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers; 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 public class SeasonSearchJob : IJob
{ {

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

@ -1,18 +1,14 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NLog; using NLog;
using NzbDrone.Core.Configuration; 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.Helpers;
using NzbDrone.Core.Model.Notification; using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers; using NzbDrone.Core.ReferenceData;
using NzbDrone.Core.Repository; using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Jobs namespace NzbDrone.Core.Jobs.Implementations
{ {
public class UpdateInfoJob : IJob public class UpdateInfoJob : IJob
{ {

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

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

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

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

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

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

@ -1,7 +1,4 @@
using System; using System.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NzbDrone.Core.Datastore; using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Qualities namespace NzbDrone.Core.Qualities

Loading…
Cancel
Save