be.ac.ua.broker.input.tasks.specification
Class WorkloadReader

java.lang.Object
  extended by be.ac.ua.broker.input.tasks.specification.WorkloadReader

public class WorkloadReader
extends java.lang.Object

This class is used to read a workload of model two from file.

Author:
Vermeersch Kurt

Constructor Summary
WorkloadReader()
           
 
Method Summary
 WorkloadWM2 getWorkload(java.lang.String filePath, java.lang.String fInstance, TaskSpecification spec)
          Read the workload described by the given file, which is the load for the given task and instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkloadReader

public WorkloadReader()
Method Detail

getWorkload

public WorkloadWM2 getWorkload(java.lang.String filePath,
                               java.lang.String fInstance,
                               TaskSpecification spec)
Read the workload described by the given file, which is the load for the given task and instance.

Parameters:
filePath - the workload file to read
fInstance - instance type the workload has to be read for
spec - the specification of the task the workload belongs to
Returns:
the workload described by the file