public class ListAction extends AbstractAction
CONTINUE_ON_ERROR, m_defaultOptions, m_options
Constructor and Description |
---|
ListAction()
Creates a new, empty ListAction.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action)
Adds an Action to the this ListAction's queue.
|
void |
failed(Throwable error)
Invokes the
failed method on the current Action
that is being performed by this ListAction. |
int |
getActionCount()
Returns the number of Actions in this ListAction.
|
protected Enumeration |
getActions()
Returns the Actions in this ListAction.
|
void |
perform()
Executes every Action that has been added to this
ListAction's queue.
|
void |
stop()
Attempts to stop the currently executing Action and ensures
that no more Actions in this ListAction will be performed.
|
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public void addAction(Action action)
public int getActionCount()
protected Enumeration getActions()
public void perform() throws ActionFailedException
ActionFailedException
- if the action could not be performed.public void stop()
public void failed(Throwable error)
failed
method on the current Action
that is being performed by this ListAction.error
- the error that occurred.Copyright © 2023. All rights reserved.