public static class

ValidationPattern.RuleTest

extends Object
java.lang.Object
   ↳ com.atlassian.plugin.util.validation.ValidationPattern.RuleTest

Class Overview

A test within a rule

Summary

Public Methods
ValidationPattern.RuleTest withError(String msg)
The error message to use in the thrown exception if the test failes
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public ValidationPattern.RuleTest withError (String msg)

The error message to use in the thrown exception if the test failes

Parameters
msg The message
Returns
  • this for chaining