Class SkippableCondition

java.lang.Object
com.atlassian.jira.workflow.SkippableCondition
All Implemented Interfaces:
com.opensymphony.workflow.Condition

public class SkippableCondition extends Object implements com.opensymphony.workflow.Condition
A Condition that is Skippable
  • Method Details

    • of

      public static SkippableCondition of(com.opensymphony.workflow.Condition condition)
      Generate a new SkippableCondition for a given condition.

      This is done to preserve existing behaviour around returning nulls.

      Parameters:
      condition -
      Returns:
      condition == null ? null : new SkippableCondition(condition);
    • passesCondition

      public boolean passesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
      Specified by:
      passesCondition in interface com.opensymphony.workflow.Condition
      Throws:
      com.opensymphony.workflow.WorkflowException
    • getCondition

      public com.opensymphony.workflow.Condition getCondition()