Package org.apache.unomi.groovy.actions
Class GroovyAction
- java.lang.Object
-
- org.apache.unomi.api.Item
-
- org.apache.unomi.api.MetadataItem
-
- org.apache.unomi.groovy.actions.GroovyAction
-
- All Implemented Interfaces:
Serializable
public class GroovyAction extends MetadataItem
Object which represents a Groovy action (including its script)- 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 GroovyAction()
Instantiates a new Groovy action.GroovyAction(String name, String script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getScript()
void
setName(String name)
void
setScript(String script)
-
Methods inherited from class org.apache.unomi.api.MetadataItem
getMetadata, getScope, setMetadata
-
Methods inherited from class org.apache.unomi.api.Item
equals, getItemId, getItemType, getItemType, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
-
-
-
Field Detail
-
ITEM_TYPE
public static final String ITEM_TYPE
- See Also:
- Constant Field Values
-
-