Package com.atlassian.jira.workflow
Class SkippableCondition
java.lang.Object
com.atlassian.jira.workflow.SkippableCondition
- All Implemented Interfaces:
com.opensymphony.workflow.Condition
A Condition that is Skippable
-
Method Summary
Modifier and TypeMethodDescriptioncom.opensymphony.workflow.Conditionstatic SkippableConditionof(com.opensymphony.workflow.Condition condition) Generate a new SkippableCondition for a given condition.booleanpassesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps)
-
Method Details
-
of
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:
passesConditionin interfacecom.opensymphony.workflow.Condition- Throws:
com.opensymphony.workflow.WorkflowException
-
getCondition
public com.opensymphony.workflow.Condition getCondition()
-