public ExecuteRecipeAction(
            IOrchardServices orchardServices,
            ISetupService setupService,
            ShellSettings shellSettings,
            IEnumerable <IRecipeExecutionStep> recipeExecutionSteps,
            IRecipeParser recipeParser,
            IRecipeExecutor recipeExecutor,
            IDatabaseManager databaseManager,
            ISweepGenerator sweepGenerator,
            IRecipeStepQueue recipeStepQueue,
            IRepository <RecipeStepResultRecord> recipeStepResultRepository)
        {
            _orchardServices            = orchardServices;
            _setupService               = setupService;
            _shellSettings              = shellSettings;
            _recipeExecutionSteps       = recipeExecutionSteps;
            _recipeParser               = recipeParser;
            _recipeExecutor             = recipeExecutor;
            _databaseManager            = databaseManager;
            _sweepGenerator             = sweepGenerator;
            _recipeStepQueue            = recipeStepQueue;
            _recipeStepResultRepository = recipeStepResultRepository;

            RecipeExecutionTimeout = 600;
        }
Ejemplo n.º 2
0
        public ExecuteRecipeAction(
            IOrchardServices orchardServices,
            ISetupService setupService,
            ShellSettings shellSettings,
            IEnumerable<IRecipeExecutionStep> recipeExecutionSteps,
            IRecipeParser recipeParser,
            IRecipeExecutor recipeExecutor,
            IDatabaseManager databaseManager,
            ISweepGenerator sweepGenerator,
            IRecipeStepQueue recipeStepQueue,
            IRepository<RecipeStepResultRecord> recipeStepResultRepository)
        {
            _orchardServices = orchardServices;
            _setupService = setupService;
            _shellSettings = shellSettings;
            _recipeExecutionSteps = recipeExecutionSteps;
            _recipeParser = recipeParser;
            _recipeExecutor = recipeExecutor;
            _databaseManager = databaseManager;
            _sweepGenerator = sweepGenerator;
            _recipeStepQueue = recipeStepQueue;
            _recipeStepResultRepository = recipeStepResultRepository;

            RecipeExecutionTimeout = 600;
        }
Ejemplo n.º 3
0
        public RecipeManager(IRecipeStepQueue recipeStepQueue, IRecipeScheduler recipeScheduler, IRecipeJournal recipeJournal) {
            _recipeStepQueue = recipeStepQueue;
            _recipeScheduler = recipeScheduler;
            _recipeJournal = recipeJournal;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
Ejemplo n.º 4
0
        public RecipeStepExecutor(IRecipeStepQueue recipeStepQueue, IRecipeJournal recipeJournal, IEnumerable<IRecipeHandler> recipeHandlers) {
            _recipeStepQueue = recipeStepQueue;
            _recipeJournal = recipeJournal;
            _recipeHandlers = recipeHandlers;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
Ejemplo n.º 5
0
        public RecipeManager(IRecipeStepQueue recipeStepQueue, IRecipeScheduler recipeScheduler, IRecipeJournal recipeJournal)
        {
            _recipeStepQueue = recipeStepQueue;
            _recipeScheduler = recipeScheduler;
            _recipeJournal   = recipeJournal;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
        public RecipeStepExecutor(IRecipeStepQueue recipeStepQueue, IRecipeJournal recipeJournal, IEnumerable <IRecipeHandler> recipeHandlers)
        {
            _recipeStepQueue = recipeStepQueue;
            _recipeJournal   = recipeJournal;
            _recipeHandlers  = recipeHandlers;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
Ejemplo n.º 7
0
        public RecipesStep(
            IRecipeHarvester recipeHarvester,
            IRecipeStepQueue recipeStepQueue,
            IRepository<RecipeStepResultRecord> recipeStepResultRecordRepository,
            RecipeExecutionLogger logger) : base(logger) {

            _recipeHarvester = recipeHarvester;
            _recipeStepQueue = recipeStepQueue;
            _recipeStepResultRecordRepository = recipeStepResultRecordRepository;
        }
Ejemplo n.º 8
0
 public RecipesStep(
     IRecipeHarvester recipeHarvester,
     IRecipeStepQueue recipeStepQueue,
     IRepository <RecipeStepResultRecord> recipeStepResultRecordRepository,
     RecipeExecutionLogger logger) : base(logger)
 {
     _recipeHarvester = recipeHarvester;
     _recipeStepQueue = recipeStepQueue;
     _recipeStepResultRecordRepository = recipeStepResultRecordRepository;
 }
Ejemplo n.º 9
0
        public RecipeManager(IRecipeStepQueue recipeStepQueue, IRecipeScheduler recipeScheduler, IRecipeJournal recipeJournal,
            IRecipeExecuteEventHandler recipeExecuteEventHandler) {
            _recipeStepQueue = recipeStepQueue;
            _recipeScheduler = recipeScheduler;
            _recipeJournal = recipeJournal;
            _recipeExecuteEventHandler = recipeExecuteEventHandler;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
Ejemplo n.º 10
0
        public RecipeStepExecutor(
            IRecipeStepQueue recipeStepQueue,
            IEnumerable<IRecipeHandler> recipeHandlers,
            IRecipeExecuteEventHandler recipeExecuteEventHandler,
            IRepository<RecipeStepResultRecord> recipeStepResultRepository) {

            _recipeStepQueue = recipeStepQueue;
            _recipeHandlers = recipeHandlers;
            _recipeExecuteEventHandler = recipeExecuteEventHandler;
            _recipeStepResultRepository = recipeStepResultRepository;
        }
Ejemplo n.º 11
0
 public RecipeStepExecutor(
     IRecipeStepQueue recipeStepQueue,
     IEnumerable <IRecipeHandler> recipeHandlers,
     IRecipeExecuteEventHandler recipeExecuteEventHandler,
     IRepository <RecipeStepResultRecord> recipeStepResultRepository)
 {
     _recipeStepQueue            = recipeStepQueue;
     _recipeHandlers             = recipeHandlers;
     _recipeExecuteEventHandler  = recipeExecuteEventHandler;
     _recipeStepResultRepository = recipeStepResultRepository;
 }
 public RecipeManager(
     IRecipeStepQueue recipeStepQueue,
     IRecipeScheduler recipeScheduler,
     IRecipeExecuteEventHandler recipeExecuteEventHandler,
     IRepository <RecipeStepResultRecord> recipeStepResultRecordRepository)
 {
     _recipeStepQueue                  = recipeStepQueue;
     _recipeScheduler                  = recipeScheduler;
     _recipeExecuteEventHandler        = recipeExecuteEventHandler;
     _recipeStepResultRecordRepository = recipeStepResultRecordRepository;
 }
Ejemplo n.º 13
0
 public RecipeManager(
     IRecipeStepQueue recipeStepQueue,
     IRecipeScheduler recipeScheduler,
     IRecipeExecuteEventHandler recipeExecuteEventHandler,
     IRepository<RecipeStepResultRecord> recipeStepResultRecordRepository)
 {
     _recipeStepQueue = recipeStepQueue;
     _recipeScheduler = recipeScheduler;
     _recipeExecuteEventHandler = recipeExecuteEventHandler;
     _recipeStepResultRecordRepository = recipeStepResultRecordRepository;
 }
Ejemplo n.º 14
0
        public RecipeManager(IRecipeStepQueue recipeStepQueue, IRecipeScheduler recipeScheduler, IRecipeJournal recipeJournal,
                             IRecipeExecuteEventHandler recipeExecuteEventHandler)
        {
            _recipeStepQueue           = recipeStepQueue;
            _recipeScheduler           = recipeScheduler;
            _recipeJournal             = recipeJournal;
            _recipeExecuteEventHandler = recipeExecuteEventHandler;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }