public abstract class Check extends 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
|
String[] |
getOptions()
Gets the current settings of the CheckClassifier.
|
boolean |
getSilent()
Get whether silent mode is turned on
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setDebug(boolean debug)
Set debugging mode
|
void |
setOptions(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, waitgetRevisionpublic Enumeration listOptions()
listOptions in interface OptionHandlerpublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlerpublic 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()
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.