public class

SkippableValidator

extends Object
implements Validator
java.lang.Object
   ↳ com.atlassian.jira.workflow.SkippableValidator

Class Overview

A Validator that is Skippable

Summary

Public Methods
Validator getValidator()
static SkippableValidator of(Validator validator)
Generate a new SkippableValidator for a given condition.
void validate(Map transientVars, Map args, PropertySet ps)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.opensymphony.workflow.Validator

Public Methods

public Validator getValidator ()

public static SkippableValidator of (Validator validator)

Generate a new SkippableValidator for a given condition.

This is done to preserve existing behaviour around returning nulls.

Returns
  • condition == null ? null : new SkippableValidator(condition);

public void validate (Map transientVars, Map args, PropertySet ps)

Throws
InvalidInputException
WorkflowException