|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.input.tasks.specification.TaskReader
public class TaskReader
This class is used to read a workload of model one or two from file.
Field Summary | |
---|---|
static java.lang.String |
INPUT_DIR_WM1
Location of the input workload model one tasks |
static java.lang.String |
INPUT_DIR_WM2
Location of the input workload model two tasks |
Constructor Summary | |
---|---|
TaskReader()
|
Method Summary | |
---|---|
TaskCollection |
parseInputDir(java.lang.String inputDir,
java.util.Date start)
Parse the tasks found at the given path location |
TaskCollection |
parseInputFile(java.lang.String filePath,
java.util.Date start)
Parse a single task found at the given path location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String INPUT_DIR_WM2
public static java.lang.String INPUT_DIR_WM1
Constructor Detail |
---|
public TaskReader()
Method Detail |
---|
public TaskCollection parseInputDir(java.lang.String inputDir, java.util.Date start) throws InvalidInputException
inputDir
- the location of the task descriptions to parsestart
- the start time of the scheduling period for the tasks
InvalidInputException
public TaskCollection parseInputFile(java.lang.String filePath, java.util.Date start) throws InvalidInputException
inputDir
- the location of the task description to parsestart
- the start time of the scheduling period for the tasks
InvalidInputException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |