Package org.cloudsimplus.builders
Provides
Builder
classes that
implement the Builder Design Pattern
to allow instantiating multiple simulation objects more easily.
Since that creating and setting up some simulation objects such as a
Datacenter
requires a considerable amount
of code, that usually becomes duplicated along different simulations,
the builder classes work as object factories that make it easier to create multiple
simulation objects with the same configuration.
The builders allow to set the parameters for creating a given object such as a Host, and then, after all parameters are set, a single class can create as many objects with the same configuration as desired.
- Author:
- Manoel Campos da Silva Filho
-
Interface Summary Interface Description BrokerBuilderInterface An interface to classes that buildDatacenterBrokerSimple
objects.Builder A Builder interface for creation of simulation objects, such asDatacenter
,Host
,Vm
DatacenterBroker
andCloudlet
. -
Class Summary Class Description BrokerBuilder A Builder class to createBrokerDatacenterBrokerSimple
objects.BrokerBuilderDecorator A class that implements the Decorator Design Pattern in order to include features in a existing class.CloudletBuilder A Builder class to createCloudlet
objects.DatacenterBuilder A Builder class to createDatacenterDatacenterSimple
objects.HostBuilder PeBuilder A Builder class to createPe
objects.SimulationScenarioBuilder An builder to help getting instance of other CloudSim object builders.VmBuilder