Search in sources :

Example 6 with ExecuterInformation

use of org.ow2.proactive.scheduler.task.internal.ExecuterInformation in project scheduling by ow2-proactive.

the class BaseSchedulerDBTest method startTask.

protected InternalTask startTask(InternalJob internalJob, InternalTask internalTask) throws Exception {
    internalTask.setExecuterInformation(new ExecuterInformation(null, NodeFactory.getDefaultNode()));
    internalJob.startTask(internalTask);
    return internalTask;
}
Also used : ExecuterInformation(org.ow2.proactive.scheduler.task.internal.ExecuterInformation)

Aggregations

TaskLauncher (org.ow2.proactive.scheduler.task.TaskLauncher)5 ExecuterInformation (org.ow2.proactive.scheduler.task.internal.ExecuterInformation)4 PAActiveObject (org.objectweb.proactive.api.PAActiveObject)2 InternalTask (org.ow2.proactive.scheduler.task.internal.InternalTask)2 ArrayList (java.util.ArrayList)1 Test (org.junit.Test)1 InvocationOnMock (org.mockito.invocation.InvocationOnMock)1 ProActiveRuntimeException (org.objectweb.proactive.core.ProActiveRuntimeException)1 Node (org.objectweb.proactive.core.node.Node)1 NodeInformation (org.objectweb.proactive.core.node.NodeInformation)1 VMInformation (org.objectweb.proactive.core.runtime.VMInformation)1 JobId (org.ow2.proactive.scheduler.common.job.JobId)1 EligibleTaskDescriptorImpl (org.ow2.proactive.scheduler.descriptor.EligibleTaskDescriptorImpl)1 InternalJob (org.ow2.proactive.scheduler.job.InternalJob)1 InternalTaskFlowJob (org.ow2.proactive.scheduler.job.InternalTaskFlowJob)1 JobIdImpl (org.ow2.proactive.scheduler.job.JobIdImpl)1 ProActiveForkedTaskLauncherFactory (org.ow2.proactive.scheduler.task.ProActiveForkedTaskLauncherFactory)1 ProActiveNonForkedTaskLauncherFactory (org.ow2.proactive.scheduler.task.ProActiveNonForkedTaskLauncherFactory)1 InternalScriptTask (org.ow2.proactive.scheduler.task.internal.InternalScriptTask)1