Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BikeBuilder ¶
type BikeBuilder struct {
// contains filtered or unexported fields
}
func (*BikeBuilder) GetVehicle ¶
func (b *BikeBuilder) GetVehicle() VehicleProduct
func (*BikeBuilder) SetSeats ¶
func (b *BikeBuilder) SetSeats() BuildProcess
func (*BikeBuilder) SetStructure ¶
func (b *BikeBuilder) SetStructure() BuildProcess
func (*BikeBuilder) SetWheels ¶
func (b *BikeBuilder) SetWheels() BuildProcess
type BuildProcess ¶
type BuildProcess interface {
SetWheels() BuildProcess
SetSeats() BuildProcess
SetStructure() BuildProcess
GetVehicle() VehicleProduct
}
type BusBuilder ¶
type BusBuilder struct {
// contains filtered or unexported fields
}
func (*BusBuilder) GetVehicle ¶
func (bb *BusBuilder) GetVehicle() VehicleProduct
func (*BusBuilder) SetSeats ¶
func (bb *BusBuilder) SetSeats() BuildProcess
func (*BusBuilder) SetStructure ¶
func (bb *BusBuilder) SetStructure() BuildProcess
func (*BusBuilder) SetWheels ¶
func (bb *BusBuilder) SetWheels() BuildProcess
type CarBuilder ¶
type CarBuilder struct {
// contains filtered or unexported fields
}
func (CarBuilder) GetVehicle ¶
func (c CarBuilder) GetVehicle() VehicleProduct
func (*CarBuilder) SetSeats ¶
func (c *CarBuilder) SetSeats() BuildProcess
func (*CarBuilder) SetStructure ¶
func (c *CarBuilder) SetStructure() BuildProcess
func (*CarBuilder) SetWheels ¶
func (c *CarBuilder) SetWheels() BuildProcess
type ManufacturingDirector ¶
type ManufacturingDirector struct {
// contains filtered or unexported fields
}
Director
func (*ManufacturingDirector) Construct ¶
func (f *ManufacturingDirector) Construct()
func (*ManufacturingDirector) SetBuilder ¶
func (f *ManufacturingDirector) SetBuilder(b BuildProcess)
Click to show internal directories.
Click to hide internal directories.