public abstract class Check extends java.lang.Object implements OptionHandler, RevisionHandler
Constructor and Description |
---|
Check() |
Modifier and Type | Method and Description |
---|---|
abstract void |
doTests()
Begin the tests, reporting results to System.out
|
boolean |
getDebug()
Get whether debugging is turned on
|
java.lang.String[] |
getOptions()
Gets the current settings of the CheckClassifier.
|
boolean |
getSilent()
Get whether silent mode is turned on
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setDebug(boolean debug)
Set debugging mode
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setSilent(boolean value)
Set slient mode, i.e., no output at all to stdout
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRevision
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public abstract void doTests()
public void setDebug(boolean debug)
debug
- true if debug output should be printedpublic boolean getDebug()
public void setSilent(boolean value)
value
- whether silent mode is active or notpublic boolean getSilent()