com.atlassian.plugin.util.validation
Class ValidationPattern.RuleTest

java.lang.Object
  extended by com.atlassian.plugin.util.validation.ValidationPattern.RuleTest
Enclosing class:
ValidationPattern

public static class ValidationPattern.RuleTest
extends Object

A test within a rule


Method Summary
 ValidationPattern.RuleTest withError(String msg)
          The error message to use in the thrown exception if the test failes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withError

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


Copyright © 2011 Atlassian. All Rights Reserved.