public class Seq extends CompositeAction
#execute()
stops when
any actions fails and that status is returned; if it succeeds in all executions but some are
warnings (+ve) then the FIRST warning status is returned (but all are executed).actions
Modifier and Type | Method and Description |
---|---|
Status |
execute(Object... paramValues)
Execute all or some subset of the actions in the order specified by the iterator.
|
Iterator<Action> |
iterator()
Iterates all of the actions in order.
|
add, addAll, clear, contains, containsAll, getName, isEmpty, makeLispCommand, remove, removeAll, retainAll, size, toArray, toArray
compareTo, equals, getDefaultIO, getIO, setDefaultIO, setIO, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public Seq(Action... actions)
actions
- The actions to be executed when #execute()
is called.public Status execute(Object... paramValues) throws IllegalOperationException, ClassCastException
CompositeAction
execute
in class CompositeAction
Status
; the value part of the
status should be -ve to indicate failure, 0 to indicate success, ad +ve to
indicate a warning.IllegalOperationException
ClassCastException