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

public interface EnhancedCondition extends com.opensymphony.workflow.Condition
Interface for adding description and arguments to Condition
  • Method Details

    • getArguments

      Get the list of accepted arguments for this condition
      Returns:
      a List of argument names and associated description
    • getDescription

      default I18nizableText getDescription(Map<String,String> argumentsValues)
      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