| Package | Description |
|---|---|
| com.atlassian.plugin.util.validation |
| Modifier and Type | Method and Description |
|---|---|
static ValidationPattern.RuleTest |
ValidationPattern.test(String xpath)
Creates a test using the passed xpath expression
|
ValidationPattern.RuleTest |
ValidationPattern.RuleTest.withError(String msg)
The error message to use in the thrown exception if the test failes
|
| Modifier and Type | Method and Description |
|---|---|
ValidationPattern |
ValidationPattern.rule(String context,
ValidationPattern.RuleTest... tests)
Adds a rule to the current pattern
|
ValidationPattern |
ValidationPattern.rule(ValidationPattern.RuleTest... tests)
Adds a rule to the current pattern, assuming the current context is "."
|
Copyright © 2020 Atlassian. All rights reserved.