Class GetSelected
- java.lang.Object
-
- jp.vmi.selenium.selenese.subcommand.AbstractSubCommand<Object>
-
- jp.vmi.selenium.selenese.subcommand.GetSelected
-
- All Implemented Interfaces:
ArgumentInfo,ISubCommand<Object>
public class GetSelected extends AbstractSubCommand<Object>
An implementation of the "getSelected(Labels?|Values?|Index(es)?|Ids?)".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetSelected.Type
-
Constructor Summary
Constructors Constructor Description GetSelected(GetSelected.Type type, boolean isMultiple)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(Context context, String... args)Execute sub command.StringgetName()Get sub-command name.-
Methods inherited from class jp.vmi.selenium.selenese.subcommand.AbstractSubCommand
getArgumentTypes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCount
-
-
-
-
Constructor Detail
-
GetSelected
public GetSelected(GetSelected.Type type, boolean isMultiple)
Constructor.- Parameters:
type- type.isMultiple- multiple selected.
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ISubCommandGet sub-command name.- Specified by:
getNamein interfaceISubCommand<Object>- Overrides:
getNamein classAbstractSubCommand<Object>- Returns:
- sub-command name.
-
execute
public Object execute(Context context, String... args)
Description copied from interface:ISubCommandExecute sub command.- Parameters:
context- Selenese Runner context.args- arguments.- Returns:
- sub command result.
-
-