public class GetSelected extends AbstractSubCommand<Object>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetSelected.Type |
| Constructor and Description |
|---|
GetSelected(GetSelected.Type type,
boolean isMultiple)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Context context,
String... args)
Execute sub command.
|
String |
getName()
Get sub-command name.
|
getArgumentTypespublic GetSelected(GetSelected.Type type, boolean isMultiple)
type - type.isMultiple - multiple selected.public String getName()
ISubCommandgetName in interface ISubCommand<Object>getName in class AbstractSubCommand<Object>public Object execute(Context context, String... args)
ISubCommandcontext - Selenese Runner context.args - arguments.Copyright © 2017. All rights reserved.