package be.iminds.jfed.gts_highlevel.jobs;

import be.iminds.ilabt.jfed.highlevel.controller.TaskThread;
import be.iminds.jfed.gts_highlevel.controller.GtsModel;
import be.iminds.jfed.gts_highlevel.tasks.GtsTaskFactory;

import javax.inject.Inject;
import javax.inject.Singleton;

/**
 * User: twalcari
 * Date: 10/8/2015
 * Time: 15:53
 */
@Singleton
public class GtsJobFactory {

    private final TaskThread tt;
    private final GtsModel model;
    private final GtsTaskFactory gtsTaskFactory;

    @Inject
    GtsJobFactory(TaskThread tt, GtsModel model, GtsTaskFactory gtsTaskFactory) {
        this.tt = tt;
        this.model = model;
        this.gtsTaskFactory = gtsTaskFactory;
    }
       /*
    public GtsStartTestbedsJob createGtsStartTestbedsJob(@Nonnull String experimentName,
                                                         @Nonnull RequestRspecSource requestRspec) {
        return new GtsStartTestbedsJob(experimentName, requestRspec, tt, model, gtsTaskFactory);
    }

    public GtsStopTestbedJob createGtsStopTestbedJob(GeantTestbedType gtt, GtsReservation reservation) {
        return new GtsStopTestbedJob(gtt, reservation, tt, model, gtsTaskFactory);
    } */
}
