public class ActionConfig extends Object
| Constructor and Description |
|---|
ActionConfig(Config config,
String type)
Construct a new ActionConfig.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter parameter)
Add a new parameter to the action.
|
void |
addParameter(String name,
String value)
Add a new parameter to the action.
|
boolean |
equals(Object o)
Compare this action config with another.
|
IafAction |
getAction()
Get the action for this config.
|
boolean |
getBooleanParameter(String name)
Get the parameter value as an boolean.
|
Config |
getConfig()
Get the application configuration.
|
int |
getIntParameter(String name)
Get the parameter value as an int.
|
long |
getLongParameter(String name)
Get the parameter value as an long.
|
Object |
getParameter(String name)
Get the parameter value.
|
String |
getStringParameter(String name)
Get the parameter value as a String.
|
String |
getType() |
int |
hashCode()
Get the hash code for the object.
|
void |
setType(String type) |
String |
toString()
Get the string representation of the object.
|
public void addParameter(Parameter parameter)
parameter - The parameter.public void addParameter(String name, String value)
name - The parameter name.value - The parameter value.public boolean equals(Object o)
public IafAction getAction() throws ActionInitException
ActionInitException - If the action could not be initialized.public boolean getBooleanParameter(String name)
Boolean.valueOf(java.lang.String) for more details.name - The parameter name.public Config getConfig()
public int getIntParameter(String name)
name - The parameter name.public long getLongParameter(String name)
name - The parameter name.public Object getParameter(String name)
name - The parameter name.public String getStringParameter(String name)
name - The parameter name.public String getType()
public int hashCode()
public void setType(String type)
type - The type to set.Copyright © 2015 Revolution Systems Inc.. All rights reserved.