Class ScriptNodeVariableType

  • All Implemented Interfaces:
    org.activiti.engine.impl.variable.VariableType

    public class ScriptNodeVariableType
    extends Object
    implements org.activiti.engine.impl.variable.VariableType
    Custom VariableType that allows storing ActivitiScriptNode as a process variable in activiti, allowing node properties being used in scripts.
    Since:
    3.4.e
    Author:
    Frederik Heremans
    • Constructor Detail

      • ScriptNodeVariableType

        public ScriptNodeVariableType()
    • Method Detail

      • getTypeName

        public String getTypeName()
        Specified by:
        getTypeName in interface org.activiti.engine.impl.variable.VariableType
      • isCachable

        public boolean isCachable()
        Specified by:
        isCachable in interface org.activiti.engine.impl.variable.VariableType
      • isAbleToStore

        public boolean isAbleToStore​(Object value)
        Specified by:
        isAbleToStore in interface org.activiti.engine.impl.variable.VariableType
      • setValue

        public void setValue​(Object value,
                             org.activiti.engine.impl.variable.ValueFields valueFields)
        Specified by:
        setValue in interface org.activiti.engine.impl.variable.VariableType
      • getValue

        public Object getValue​(org.activiti.engine.impl.variable.ValueFields valueFields)
        Specified by:
        getValue in interface org.activiti.engine.impl.variable.VariableType
      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)