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 Details

    • ActionDefinitionImpl

      public ActionDefinitionImpl(String name)
      Constructor
      Parameters:
      name - the name
  • Method Details

    • setRuleActionExecutor

      public void setRuleActionExecutor(String ruleActionExecutor)
      Set the rule action executor
      Parameters:
      ruleActionExecutor - the rule action executor
    • getRuleActionExecutor

      public String getRuleActionExecutor()
      Get the rule aciton executor
      Returns:
      the rule action executor
    • getApplicableTypes

      public Set<QName> getApplicableTypes()
      Gets the set of applicable types
      Specified by:
      getApplicableTypes in interface ActionDefinition
      Returns:
      the set of qnames
    • setApplicableTypes

      public void setApplicableTypes(Set<QName> applicableTypes)
      Sets the list of applicable types
      Parameters:
      applicableTypes - the applicable types
    • getTrackStatus

      public boolean getTrackStatus()
      Description copied from interface: ActionDefinition
      Get whether the basic action definition supports action tracking or not. This can be overridden for each action but if not, this value is used. Defaults to false.
      Specified by:
      getTrackStatus in interface ActionDefinition
      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