Class ControllerBuilder
java.lang.Object
com.chillycheesy.modulo.controllers.ControllerBuilder
Builds a controller.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new controller builder.ControllerBuilder(List<Controller> controllers)Creates a new controller builder. -
Method Summary
Modifier and TypeMethodDescriptionadd(Controller controller)Adds a controller to the list of controllers.build()Builds the controller.
-
Constructor Details
-
ControllerBuilder
Creates a new controller builder.- Parameters:
controllers- The List of controller.
-
ControllerBuilder
public ControllerBuilder()Creates a new controller builder.
-
-
Method Details
-
add
Adds a controller to the list of controllers.- Parameters:
controller- The controller to add.- Returns:
- The controller builder.
-
build
Builds the controller.- Returns:
- The controller.
-