Package org.ametys.plugins.workflow
Interface EnhancedCondition
- All Superinterfaces:
com.opensymphony.workflow.Condition
- All Known Implementing Classes:
AmetysObjectCheckRightsCondition,AmetysObjectCurrentStepCondition,CheckCurrentUserContentCondition,CheckRightsCondition,ContentCheckRightsCondition,ContentCurrentStepCondition,CreateContentByCopyRightCondition,CreateContentRightCondition,ExplorerNodeCheckRightsCondition,HasLiveLabelCondition,LockCondition,PublishableODFContentCondition,SendNewsPublicationNotificationCondition,ValidateContentCondition,ValidationStepCondition
Interface for adding description and arguments to
Condition-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRecord of the condition argument -
Method Summary
Modifier and TypeMethodDescriptiondefault List<EnhancedCondition.ConditionArgument>Get the list of accepted arguments for this conditiondefault I18nizableTextgetDescription(Map<String, String> argumentsValues) Get the condition descriptions depending on arguments valuesMethods inherited from interface com.opensymphony.workflow.Condition
passesCondition
-
Method Details
-
getArguments
Get the list of accepted arguments for this condition- Returns:
- a List of argument names and associated description
-
getDescription
Get the condition descriptions depending on arguments values- Parameters:
argumentsValues- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-