CloudletsTableBuilder

public class CloudletsTableBuilder extends TableBuilderAbstract<Cloudlet>

Builds a table for printing simulation results from a list of Cloudlets. It defines a set of default columns but new ones can be added dynamically using the addColumn() methods.

The basic usage of the class is by calling its constructor, giving a list of Cloudlets to be printed, and then calling the build() method.

Author:Manoel Campos da Silva Filho

Constructors

CloudletsTableBuilder

public CloudletsTableBuilder(List<? extends Cloudlet> list)

Instantiates a builder to print the list of Cloudlets using the a default TextTable. To use a different Table, check the alternative constructors.

Parameters:
  • list – the list of Cloudlets to print

CloudletsTableBuilder

public CloudletsTableBuilder(List<? extends Cloudlet> list, Table table)

Instantiates a builder to print the list of Cloudlets using the a given Table.

Parameters:
  • list – the list of Cloudlets to print
  • table – the Table used to build the table with the Cloudlets data

Methods

createTableColumns

protected void createTableColumns()