be.ac.ua.broker.output.textual
Class SchedulePrinter

java.lang.Object
  extended by be.ac.ua.broker.output.textual.SchedulePrinter

public class SchedulePrinter
extends java.lang.Object

This class is used when the broker result is outputted in a textual manner, it prints the generated schedules to a given outputStream in a structured way.

Author:
Vermeersch Kurt

Constructor Summary
SchedulePrinter(java.io.PrintStream output)
          Constructor for SchedulePrinter
 
Method Summary
 void print(SchedulerResultCollection results)
          Write the schedules contained in the provided schedulerResultCollection to the provided printStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulePrinter

public SchedulePrinter(java.io.PrintStream output)
Constructor for SchedulePrinter

Parameters:
output - the outputStream to write the broker schedules to
Method Detail

print

public void print(SchedulerResultCollection results)
Write the schedules contained in the provided schedulerResultCollection to the provided printStream.

Parameters:
results - the schedulerResultCollection broker results of which to write the information to the outputStream