Class InfoCommand
- java.lang.Object
-
- org.openqa.selenium.grid.commands.InfoCommand
-
- All Implemented Interfaces:
CliCommand
@AutoService(CliCommand.class) public class InfoCommand extends java.lang.Object implements CliCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openqa.selenium.cli.CliCommand
CliCommand.Executable
-
-
Constructor Summary
Constructors Constructor Description InfoCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CliCommand.Executableconfigure(java.io.PrintStream out, java.io.PrintStream err, java.lang.String... args)java.util.Set<org.openqa.selenium.grid.config.Role>getConfigurableRoles()Allows a command to indicate that certain aspects are configurable.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()-
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()
- Specified by:
getNamein interfaceCliCommand
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceCliCommand
-
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.- Specified by:
getConfigurableRolesin interfaceCliCommand
-
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.- Specified by:
getFlagObjectsin interfaceCliCommand
-
configure
public CliCommand.Executable configure(java.io.PrintStream out, java.io.PrintStream err, java.lang.String... args)
- Specified by:
configurein interfaceCliCommand
-
-