Package org.ametys.cms.workflow
Class CommentStepFunction
java.lang.Object
org.ametys.cms.workflow.CommentStepFunction
- All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider,EnhancedFunction
Function setting the user comment into the step before it's stored.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.workflow.EnhancedFunction
EnhancedFunction.FunctionArgument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGet the list of accepted arguments for this functiongetDescription(Map<String, String> args) Get the function descriptions depending on arguments values
-
Constructor Details
-
CommentStepFunction
public CommentStepFunction()
-
-
Method Details
-
execute
public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException - Specified by:
executein interfacecom.opensymphony.workflow.FunctionProvider- Throws:
com.opensymphony.workflow.WorkflowException
-
getArguments
Description copied from interface:EnhancedFunctionGet the list of accepted arguments for this function- Specified by:
getArgumentsin interfaceEnhancedFunction- Returns:
- a List of argument names and associated description
-
getDescription
Description copied from interface:EnhancedFunctionGet the function descriptions depending on arguments values- Specified by:
getDescriptionin interfaceEnhancedFunction- Parameters:
args- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-