public ResultConfig( String commandName, Class<? extends RestishHandler<?>> handlerClazz, DriverSessions sessions, Logger log) { if (commandName == null || handlerClazz == null) { throw new IllegalArgumentException("You must specify the handler and the command name"); } this.commandName = commandName; this.log = log; this.sessions = sessions; this.handlerFactory = getHandlerFactory(handlerClazz); }
public AddConfig(DriverSessions allSessions) { this.allSessions = allSessions; }
public GetAllSessions(DriverSessions allSession) { this.allSessions = allSession; }
public NewSession(DriverSessions allSession) { this.allSessions = allSession; }