Class Hub
- java.lang.Object
-
- org.openqa.selenium.grid.TemplateGridCommand
-
- org.openqa.selenium.grid.TemplateGridServerCommand
-
- org.openqa.selenium.grid.commands.Hub
-
- All Implemented Interfaces:
CliCommand
@AutoService(CliCommand.class) public class Hub extends TemplateGridServerCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openqa.selenium.grid.TemplateGridServerCommand
TemplateGridServerCommand.Handlers
-
Nested classes/interfaces inherited from interface org.openqa.selenium.cli.CliCommand
CliCommand.Executable
-
-
Constructor Summary
Constructors Constructor Description Hub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TemplateGridServerCommand.HandlerscreateHandlers(org.openqa.selenium.grid.config.Config config)protected voidexecute(org.openqa.selenium.grid.config.Config config)java.util.Set<org.openqa.selenium.grid.config.Role>getConfigurableRoles()Allows a command to indicate that certain aspects are configurable.protected org.openqa.selenium.grid.config.ConfiggetDefaultConfig()java.lang.StringgetDescription()java.util.Set<java.lang.Object>getFlagObjects()Allows the set of objects used for finding command-line flags to be augmented with default implementations.java.lang.StringgetName()protected java.lang.StringgetSystemPropertiesConfigPrefix()-
Methods inherited from class org.openqa.selenium.grid.TemplateGridServerCommand
asServer
-
Methods inherited from class org.openqa.selenium.grid.TemplateGridCommand
configure
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openqa.selenium.cli.CliCommand
isShown
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getConfigurableRoles
public java.util.Set<org.openqa.selenium.grid.config.Role> getConfigurableRoles()
Description copied from interface:CliCommandAllows a command to indicate that certain aspects are configurable. Any roles that are exposed here will be matched against flag objects which implementHasRolesto allow configuration via command line flags.
-
getFlagObjects
public java.util.Set<java.lang.Object> getFlagObjects()
Description copied from interface:CliCommandAllows the set of objects used for finding command-line flags to be augmented with default implementations.
-
getSystemPropertiesConfigPrefix
protected java.lang.String getSystemPropertiesConfigPrefix()
- Specified by:
getSystemPropertiesConfigPrefixin classTemplateGridCommand
-
getDefaultConfig
protected org.openqa.selenium.grid.config.Config getDefaultConfig()
- Specified by:
getDefaultConfigin classTemplateGridCommand
-
createHandlers
protected TemplateGridServerCommand.Handlers createHandlers(org.openqa.selenium.grid.config.Config config)
- Specified by:
createHandlersin classTemplateGridServerCommand
-
execute
protected void execute(org.openqa.selenium.grid.config.Config config)
- Specified by:
executein classTemplateGridCommand
-
-