Package org.alfresco.repo.action
Class ActionDefinitionImpl
java.lang.Object
org.alfresco.repo.action.ParameterizedItemDefinitionImpl
org.alfresco.repo.action.ActionDefinitionImpl
- All Implemented Interfaces:
Serializable,ActionDefinition,ParameterizedItemDefinition
- Direct Known Subclasses:
RenderingEngineDefinitionImpl
public class ActionDefinitionImpl
extends ParameterizedItemDefinitionImpl
implements ActionDefinition
Rule action implementation class
- Author:
- Roy Wetherall
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the set of applicable typesGet the rule aciton executorbooleanGet whether the basic action definition supports action tracking or not.voidsetApplicableTypes(Set<QName> applicableTypes) Sets the list of applicable typesvoidsetRuleActionExecutor(String ruleActionExecutor) Set the rule action executorvoidsetTrackStatus(boolean trackStatus) Set whether the basic action definition requires status tracking.Methods inherited from class org.alfresco.repo.action.ParameterizedItemDefinitionImpl
getAdhocPropertiesAllowed, getDescription, getName, getParameterDefinitions, getParameterDefintion, getTitle, hasParameterDefinitions, setAdhocPropertiesAllowed, setDescriptionKey, setLocalizedParameterDefinitions, setParameterDefinitions, setTitleKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItemDefinition
getAdhocPropertiesAllowed, getDescription, getName, getParameterDefinitions, getParameterDefintion, getTitle, hasParameterDefinitions
-
Constructor Details
-
ActionDefinitionImpl
Constructor- Parameters:
name- the name
-
-
Method Details
-
setRuleActionExecutor
Set the rule action executor- Parameters:
ruleActionExecutor- the rule action executor
-
getRuleActionExecutor
Get the rule aciton executor- Returns:
- the rule action executor
-
getApplicableTypes
Gets the set of applicable types- Specified by:
getApplicableTypesin interfaceActionDefinition- Returns:
- the set of qnames
-
setApplicableTypes
Sets the list of applicable types- Parameters:
applicableTypes- the applicable types
-
getTrackStatus
public boolean getTrackStatus()Description copied from interface:ActionDefinitionGet whether the basic action definition supports action tracking or not. This can be overridden for eachactionbut if not, this value is used. Defaults to false.- Specified by:
getTrackStatusin interfaceActionDefinition- Returns:
- true to track action execution status or false (default) to do no action tracking
-
setTrackStatus
public void setTrackStatus(boolean trackStatus) Set whether the basic action definition requires status tracking. This can be overridden on each action instance but if not, it falls back to this definition. Setting this to true introduces performance problems for concurrently-executing rules on V3.4: ALF-7341.- Parameters:
trackStatus- true to track execution status otherwise false- Since:
- 3.4.1
-