public class EzySettingsBuilder extends Object implements com.tvd12.ezyfox.builder.EzyBuilder<EzySettings>
| Modifier and Type | Field and Description |
|---|---|
protected EzySimpleAdminsSetting |
admins |
protected boolean |
debug |
protected EzySimpleEventControllersSetting |
eventControllers |
protected EzySimpleHttpSetting |
http |
protected EzySimpleLoggerSetting |
logger |
protected int |
maxSessions |
protected String |
nodeName |
protected EzySimpleSessionManagementSetting |
sessionManagement |
protected EzySimpleSocketSetting |
socket |
protected EzySimpleStreamingSetting |
streaming |
protected EzySimpleThreadPoolSizeSetting |
threadPoolSize |
protected EzySimpleUdpSetting |
udp |
protected EzySimpleWebSocketSetting |
websocket |
protected EzySimpleZonesSetting |
zones |
| Constructor and Description |
|---|
EzySettingsBuilder() |
protected boolean debug
protected String nodeName
protected int maxSessions
protected EzySimpleStreamingSetting streaming
protected EzySimpleHttpSetting http
protected EzySimpleSocketSetting socket
protected EzySimpleUdpSetting udp
protected EzySimpleAdminsSetting admins
protected EzySimpleLoggerSetting logger
protected EzySimpleWebSocketSetting websocket
protected EzySimpleThreadPoolSizeSetting threadPoolSize
protected EzySimpleSessionManagementSetting sessionManagement
protected EzySimpleEventControllersSetting eventControllers
protected EzySimpleZonesSetting zones
public EzySettingsBuilder debug(boolean debug)
public EzySettingsBuilder nodeName(String nodeName)
public EzySettingsBuilder maxSessions(int maxSessions)
public EzySettingsBuilder streaming(EzySimpleStreamingSetting streaming)
public EzySettingsBuilder http(EzySimpleHttpSetting http)
public EzySettingsBuilder socket(EzySimpleSocketSetting socket)
public EzySettingsBuilder udp(EzySimpleUdpSetting udp)
public EzySettingsBuilder admin(EzySimpleAdminSetting admin)
public EzySettingsBuilder admins(EzySimpleAdminsSetting admins)
public EzySettingsBuilder logger(EzySimpleLoggerSetting logger)
public EzySettingsBuilder websocket(EzySimpleWebSocketSetting websocket)
public EzySettingsBuilder threadPoolSize(EzySimpleThreadPoolSizeSetting threadPoolSize)
public EzySettingsBuilder sessionManagement(EzySimpleSessionManagementSetting sessionManagement)
public EzySettingsBuilder eventControllers(EzySimpleEventControllersSetting eventControllers)
public EzySettingsBuilder addEventController(String eventType, String controller)
public EzySettingsBuilder addEventController(EzyEventType eventType, Class<?> controller)
public EzySettingsBuilder zone(EzySimpleZoneSetting zone)
public EzySettingsBuilder zones(EzySimpleZonesSetting zones)
public EzySimpleSettings build()
build in interface com.tvd12.ezyfox.builder.EzyBuilder<EzySettings>Copyright © 2021 Young Monkeys. All rights reserved.