Package jetbrains.buildServer.agent.impl
Class ServerCommandsHandlersRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.ServerCommandsHandlersRegistryImpl
-
- All Implemented Interfaces:
ServerCommandsHandlersRegistry
public class ServerCommandsHandlersRegistryImpl extends Object implements ServerCommandsHandlersRegistry
Registers handlers in thePollingBasedServerCommandsHandlersRegistry
.
-
-
Constructor Summary
Constructors Constructor Description ServerCommandsHandlersRegistryImpl(PollingBasedServerCommandsHandlersRegistry pollingBasedServerCommandsRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerCommandsHandler(String handlerName, Object handler)
Allows to registers custom handler for the server-sent commands.
-
-
-
Constructor Detail
-
ServerCommandsHandlersRegistryImpl
public ServerCommandsHandlersRegistryImpl(PollingBasedServerCommandsHandlersRegistry pollingBasedServerCommandsRegistry)
-
-
Method Detail
-
registerCommandsHandler
public void registerCommandsHandler(String handlerName, Object handler)
Description copied from interface:ServerCommandsHandlersRegistry
Allows to registers custom handler for the server-sent commands. Registered handler should contain simple methods that will be called remotely. (TODO describe what does it mean - simple methods)- Specified by:
registerCommandsHandler
in interfaceServerCommandsHandlersRegistry
- See Also:
(TODO add it to open api on server side)
-
-