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,
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.
|
protected ListIterator<ICommand> |
originalListIterator(int index)
Original list iterator.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, isEmpty, lastIndexOf, listIterator, listIterator, 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.public CommandListIterator iterator()
public CommandListIterator iterator(CommandListIterator parentIterator)
parentIterator - parent iterator.public Result execute(Context context, CommandResultList cresultList)
context - Selenese Runner context.cresultList - command result list for keeping all command results.Copyright © 2017. All rights reserved.