Package org.apache.unomi.api.actions
Class ActionType
- java.lang.Object
-
- org.apache.unomi.api.Item
-
- org.apache.unomi.api.MetadataItem
-
- org.apache.unomi.api.actions.ActionType
-
- All Implemented Interfaces:
Serializable
public class ActionType extends MetadataItem
A type definition forAction
s.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ITEM_TYPE
-
Fields inherited from class org.apache.unomi.api.MetadataItem
metadata
-
-
Constructor Summary
Constructors Constructor Description ActionType()
Instantiates a new Action type.ActionType(Metadata metadata)
Instantiates a new Action type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getActionExecutor()
Retrieves the action executor.List<Parameter>
getParameters()
Retrieves the parameters.int
hashCode()
void
setActionExecutor(String actionExecutor)
Sets the action executor.void
setParameters(List<Parameter> parameters)
Sets the parameters.-
Methods inherited from class org.apache.unomi.api.MetadataItem
getMetadata, getScope, setMetadata
-
Methods inherited from class org.apache.unomi.api.Item
getItemId, getItemType, getItemType, getSystemMetadata, getVersion, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
-
-
-
Field Detail
-
ITEM_TYPE
public static final String ITEM_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ActionType
public ActionType()
Instantiates a new Action type.
-
ActionType
public ActionType(Metadata metadata)
Instantiates a new Action type.- Parameters:
metadata
- the metadata
-
-
Method Detail
-
getActionExecutor
public String getActionExecutor()
Retrieves the action executor.- Returns:
- the action executor
-
setActionExecutor
public void setActionExecutor(String actionExecutor)
Sets the action executor.- Parameters:
actionExecutor
- the action executor
-
getParameters
public List<Parameter> getParameters()
Retrieves the parameters.- Returns:
- the parameters
-
setParameters
public void setParameters(List<Parameter> parameters)
Sets the parameters.- Parameters:
parameters
- the parameters
-
-