Class BrokerBuilderDecorator

java.lang.Object
org.cloudsimplus.builders.BrokerBuilderDecorator
All Implemented Interfaces:
BrokerBuilderInterface, Builder

public class BrokerBuilderDecorator extends Object implements BrokerBuilderInterface

A class that implements the Decorator Design Pattern in order to include features in a existing class. It is used to ensure that specific methods are called only after a given method is called.

For instance, the methods getVmBuilder() and getCloudletBuilder() can only be called after some DatacenterBrokerSimple was created by calling the method create().
By this way, after the method is called, it returns an instance of this decorator that allow chained call to the specific decorator methods as the following example:
Since:
CloudSim Plus 1.0
Author:
Manoel Campos da Silva Filho