Class CommentStepFunction

java.lang.Object
org.ametys.cms.workflow.CommentStepFunction
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider, EnhancedFunction

public class CommentStepFunction extends Object implements EnhancedFunction
Function setting the user comment into the step before it's stored.
  • Constructor Details

  • Method Details

    • execute

      public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
      Specified by:
      execute in interface com.opensymphony.workflow.FunctionProvider
      Throws:
      com.opensymphony.workflow.WorkflowException
    • getArguments

      Description copied from interface: EnhancedFunction
      Get the list of accepted arguments for this function
      Specified by:
      getArguments in interface EnhancedFunction
      Returns:
      a List of argument names and associated description
    • getDescription

      Description copied from interface: EnhancedFunction
      Get the function descriptions depending on arguments values
      Specified by:
      getDescription in interface EnhancedFunction
      Parameters:
      args - a map of the arguments with their values in current workflow
      Returns:
      a description to display in workflow editor vue