Class CloudletsTableBuilder

java.lang.Object
org.cloudsimplus.builders.tables.TableBuilderAbstract<Cloudlet>
org.cloudsimplus.builders.tables.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 TableBuilderAbstract.build() method.

Since:
CloudSim Plus 1.0
Author:
Manoel Campos da Silva Filho
  • Constructor Details

    • 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
  • Method Details

    • createTableColumns

      protected void createTableColumns()
      Description copied from class: TableBuilderAbstract
      Creates the columns of the table and define how the data for those columns will be got from an object inside the TableBuilderAbstract.list of objects to be printed.
      Specified by:
      createTableColumns in class TableBuilderAbstract<Cloudlet>