Package org.ametys.cms.workflow
Class ValidationStepFunction
java.lang.Object
org.ametys.cms.workflow.ValidationStepFunction
- All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider
,EnhancedFunction
OSWorkflow function for setting the "validate" flag on steps, indicating they represent a validation step.
This function MUST be used as a post-function of the validation function.
This function MUST be used as a post-function of the validation function.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.workflow.EnhancedFunction
EnhancedFunction.FunctionArgument
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Get the list of accepted arguments for this functiongetDescription
(Map<String, String> args) Get the function descriptions depending on arguments values
-
Constructor Details
-
ValidationStepFunction
public ValidationStepFunction()
-
-
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 interfacecom.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 interfaceEnhancedFunction
- 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 interfaceEnhancedFunction
- Parameters:
args
- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-