Class HostHistoryTableBuilder
java.lang.Object
org.cloudsimplus.builders.tables.TableBuilderAbstract<HostStateHistoryEntry>
org.cloudsimplus.builders.tables.HostHistoryTableBuilder
Builds a table for printing
HostStateHistoryEntry entries from the
Host.getStateHistory().
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 Host to print its history, and then
calling the TableBuilderAbstract.build() method.
- Since:
- CloudSim Plus 2.3.2
- Author:
- Manoel Campos da Silva Filho
-
Constructor Summary
ConstructorsConstructorDescriptionHostHistoryTableBuilder(Host host) Instantiates a builder to print the history of a Host using the defaultTextTable. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCreates the columns of the table and define how the data for those columns will be got from an object inside theTableBuilderAbstract.listof objects to be printed.Methods inherited from class org.cloudsimplus.builders.tables.TableBuilderAbstract
addColumn, addColumn, addDataToRow, build, column, removeColumn, removeColumn, setObjectList, setTable, setTitle
-
Constructor Details
-
HostHistoryTableBuilder
-
-
Method Details
-
createTableColumns
protected void createTableColumns()Description copied from class:TableBuilderAbstractCreates the columns of the table and define how the data for those columns will be got from an object inside theTableBuilderAbstract.listof objects to be printed. It doesn't add such columns into a table yet.- Specified by:
createTableColumnsin classTableBuilderAbstract<HostStateHistoryEntry>- See Also:
-