public class CommandList extends ArrayList<ICommand>
modCount| Constructor and Description |
|---|
CommandList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ICommand command) |
protected Result |
doCommand(Context context,
ICommand command,
String... curArgs) |
protected void |
evalCurArgs(Context context,
String[] curArgs) |
Result |
execute(Context context)
Deprecated.
|
Result |
execute(Context context,
CommandResultList cresultList)
Execute command list.
|
int |
indexOf(Object key)
Get index by label or command.
|
CommandListIterator |
iterator() |
CommandListIterator |
iterator(CommandListIterator parentIterator)
Create the iterator of this command list.
|
CommandListIterator |
listIterator()
Deprecated.
|
CommandListIterator |
listIterator(int index)
Deprecated.
|
protected ListIterator<ICommand> |
originalListIterator(int index)
Original list iterator.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, isEmpty, lastIndexOf, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic boolean add(ICommand command)
public int indexOf(Object key)
protected ListIterator<ICommand> originalListIterator(int index)
ArrayList.listIterator(int)index - start index.@Deprecated public CommandListIterator listIterator(int index)
listIterator in interface List<ICommand>listIterator in class ArrayList<ICommand>@Deprecated public CommandListIterator listIterator()
listIterator in interface List<ICommand>listIterator in class ArrayList<ICommand>public CommandListIterator iterator()
public CommandListIterator iterator(CommandListIterator parentIterator)
parentIterator - parent iterator.@Deprecated public Result execute(Context context)
execute(Context, CommandResultList).context - Selenese Runner context.public Result execute(Context context, CommandResultList cresultList)
context - Selenese Runner context.cresultList - command result list for keeping all command results.Copyright © 2016. All rights reserved.