public class Action extends Object implements Serializable
Rule
being triggered. An action is characterized by its associated ActionType
and parameter values.Constructor and Description |
---|
Action()
Instantiates a new Action.
|
Action(ActionType actionType)
Instantiates a new Action with the specified
ActionType |
Modifier and Type | Method and Description |
---|---|
ActionType |
getActionType()
Retrieves the action's type.
|
String |
getActionTypeId()
Retrieves the identifier of the associated action type.
|
Map<String,Object> |
getParameterValues()
Retrieves the parameter values as a Map of parameter name - associated value pairs.
|
void |
setActionType(ActionType actionType)
Sets the action's type.
|
void |
setActionTypeId(String actionTypeId)
Sets the identifier of the associated action type.
|
void |
setParameter(String name,
Object value)
Sets the parameter identified by the specified name to the specified value.
|
void |
setParameterValues(Map<String,Object> parameterValues)
Sets the parameter values as a Map of parameter name - associated value pairs.
|
public Action()
public Action(ActionType actionType)
ActionType
actionType
- the action's typepublic ActionType getActionType()
public void setActionType(ActionType actionType)
actionType
- the action's typepublic String getActionTypeId()
public void setActionTypeId(String actionTypeId)
actionTypeId
- the identifier of the associated action typepublic Map<String,Object> getParameterValues()
public void setParameterValues(Map<String,Object> parameterValues)
parameterValues
- the parameter values as a Map of parameter name - associated value pairspublic void setParameter(String name, Object value)
name
- the name of the parameter to setvalue
- the value of the parameterCopyright © 2014–2022 Apache Software Foundation. All rights reserved.