|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.functest.config.CheckOptionsUtils
public final class CheckOptionsUtils
Class to read and update CheckOptions
instances.
Method Summary | |
---|---|
static CheckOptions |
allOptions()
|
protected Object |
clone()
|
static CheckOptions |
disabled(String... options)
|
static CheckOptions |
noOptions()
|
static CheckOptions |
parseOptions(org.dom4j.Document document)
Creates a CheckOptions object by parsing through the
comments at the top level of the passed document and looking for lines of the form:
suppresscheck: check
or
suppresschecks: check, check2
There a special check called "all". |
static void |
writeOptions(org.dom4j.Document document,
CheckOptions options)
Writes the passed CheckOptions object to a comment in the
passed document. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static CheckOptions allOptions()
public static CheckOptions noOptions()
public static CheckOptions disabled(String... options)
public static CheckOptions parseOptions(org.dom4j.Document document)
CheckOptions
object by parsing through the
comments at the top level of the passed document and looking for lines of the form:
suppresscheck: check
or
suppresschecks: check, check2
There a special check called "all". When specified all the checks will be suppressed.
document
- the document to scan.
public static void writeOptions(org.dom4j.Document document, CheckOptions options)
CheckOptions
object to a comment in the
passed document.
document
- the document to write to.options
- the options to write to the passed document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |