Package org.openqa.selenium.cli
Interface CliCommand
-
- All Known Implementing Classes:
CompletionCommand
,DistributorServer
,EventBusCommand
,Hub
,InfoCommand
,NewSessionQueueServer
,NodeServer
,RouterServer
,SessionMapServer
,Standalone
,TemplateGridCommand
,TemplateGridServerCommand
public interface CliCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CliCommand.Executable
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CliCommand.Executable
configure(java.io.PrintStream out, java.io.PrintStream err, java.lang.String... args)
java.util.Set<Role>
getConfigurableRoles()
Allows a command to indicate that certain aspects are configurable.java.lang.String
getDescription()
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.String
getName()
default boolean
isShown()
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getDescription
java.lang.String getDescription()
-
getConfigurableRoles
java.util.Set<Role> getConfigurableRoles()
Allows a command to indicate that certain aspects are configurable. Any roles that are exposed here will be matched against flag objects which implementHasRoles
to allow configuration via command line flags.
-
getFlagObjects
java.util.Set<java.lang.Object> getFlagObjects()
Allows the set of objects used for finding command-line flags to be augmented with default implementations.
-
configure
CliCommand.Executable configure(java.io.PrintStream out, java.io.PrintStream err, java.lang.String... args)
-
isShown
default boolean isShown()
-
-