public class SkippableCondition extends Object implements com.opensymphony.workflow.Condition
Modifier and Type | Method and Description |
---|---|
com.opensymphony.workflow.Condition |
getCondition() |
static SkippableCondition |
of(com.opensymphony.workflow.Condition condition)
Generate a new SkippableCondition for a given condition.
|
boolean |
passesCondition(Map transientVars,
Map args,
com.opensymphony.module.propertyset.PropertySet ps) |
public static SkippableCondition of(com.opensymphony.workflow.Condition condition)
This is done to preserve existing behaviour around returning nulls.
condition
- public boolean passesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
passesCondition
in interface com.opensymphony.workflow.Condition
com.opensymphony.workflow.WorkflowException
public com.opensymphony.workflow.Condition getCondition()
Copyright © 2002-2021 Atlassian. All Rights Reserved.