public abstract class AbstractAction extends Object implements Action
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONTINUE_ON_ERROR
Option key specifying if the action should continue on an error or not. 
 | 
protected Hashtable | 
m_defaultOptions
A Hashtable containing the default options for this AbstractAction. 
 | 
protected Hashtable | 
m_options
A Hashtable containing the options for this AbstractAction. 
 | 
| Constructor and Description | 
|---|
AbstractAction()
Creates a new AbstractAction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()
Returns this Action's description. 
 | 
String | 
getName()
Returns this Action's name. 
 | 
Object | 
getValue(String key)
Searches for the option with the specified key. 
 | 
protected boolean | 
isContinueOnError()  | 
boolean | 
isPostgres()
Returns true if the target database is of type PostreSQL. 
 | 
Object | 
putValue(String key,
        Object value)
Calls the Hashtable method  
put,
 or the Hashtable method remove if the given value is null. | 
void | 
setDefaultOptions(Hashtable options)
Sets the default options for this AbstractAction. 
 | 
void | 
setDescription(String description)
Sets this Action's description. 
 | 
void | 
setName(String name)
Sets this Action's name. 
 | 
void | 
setOptions(Hashtable options)
Replaces this AbstractAction's options table. 
 | 
public static final String CONTINUE_ON_ERROR
protected Hashtable m_options
protected Hashtable m_defaultOptions
public void setOptions(Hashtable options)
options - the Hashtable that should be used as the options table.public void setDefaultOptions(Hashtable options)
options - the Hashtable that should be used as the default options.public void setName(String name)
public void setDescription(String description)
setDescription in interface Actiondescription - the description to set for this Action.public Object getValue(String key)
public Object putValue(String key, Object value)
put,
 or the Hashtable method remove if the given value is null.public String getName()
Actionpublic String getDescription()
ActiongetDescription in interface Actionprotected boolean isContinueOnError()
public boolean isPostgres()
Copyright © 2025. All rights reserved.