Skip to content
Snippets Groups Projects
Commit 5c652f93 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Adding the RunGridModels task

parent 500b21f1
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ import java.util.Map;
import no.nibio.vips.logic.scheduling.tasks.DeleteAllExpiredUserUuidsTask;
import no.nibio.vips.logic.scheduling.tasks.RunAllForecastConfigurationsForOrganizationTask;
import no.nibio.vips.logic.scheduling.tasks.RunAllForecastConfigurationsTask;
import no.nibio.vips.logic.scheduling.tasks.RunGridModelsTask;
import no.nibio.vips.logic.scheduling.tasks.SendForecastEventNotificationsTask;
import no.nibio.vips.logic.scheduling.tasks.UpdateForecastResultCacheTableTask;
import no.nibio.vips.logic.scheduling.tasks.UpdateForecastSummaryTableTask;
......@@ -45,8 +46,9 @@ public class VipsLogicTaskFactory {
public static final int DELETE_ALL_EXPIRED_UUIDS_TASK = 5;
public static final int SEND_FORECAST_EVENT_NOTIFICATIONS_TASK = 6;
public static final int RUN_ALL_FORECAST_CONFIGURATIONS_FOR_ORGANIZATION_TASK = 7;
public static final int RUN_GRID_MODELS_TASK = 8;
private final static int[] ALL_TASK_IDS = {1,2,3,4,5,6,7};
private final static int[] ALL_TASK_IDS = {1,2,3,4,5,6,7,8};
private final static int[] ORGANIZATION_ADMIN_TASK_IDS = {7};
......@@ -85,6 +87,9 @@ public class VipsLogicTaskFactory {
case RUN_ALL_FORECAST_CONFIGURATIONS_FOR_ORGANIZATION_TASK:
retVal = new RunAllForecastConfigurationsForOrganizationTask();
break;
case RUN_GRID_MODELS_TASK:
retVal = new RunGridModelsTask();
break;
default:
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment