Interface EnhancedCondition

All Superinterfaces:
com.opensymphony.workflow.Condition
All Known Implementing Classes:
AmetysObjectCheckRightsCondition, AmetysObjectCurrentStepCondition, CheckCurrentUserContentCondition, CheckRightsCondition, ContentCheckRightsCondition, ContentCurrentStepCondition, CreateContentByCopyRightCondition, CreateContentRightCondition, ExplorerNodeCheckRightsCondition, FormCheckRightsCondition, HasLiveLabelCondition, IsUserCondition, LockCondition, PublishableODFContentCondition, SendNewsPublicationNotificationCondition, ValidateContentCondition, ValidateProgramItemTreeCondition, 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
    • getLabel

      Get the label for this condition
      Returns:
      the label
    • getFullLabel

      default I18nizableText getFullLabel(Map<String,String> argumentsValues)
      Get the condition label depending on arguments values
      Parameters:
      argumentsValues - a map of the arguments with their values in current workflow
      Returns:
      a label to display in workflow editor vue
    • getVisibilities

      Get the condition's visibilities depending on rights
      Returns:
      a list of all the allowed right profiles