public class CheckGOE extends Check
CheckGOE -W classname -- test options
Valid options are:
-D Turn on debugging output.
-S Silent mode - prints nothing to stdout.
-ignored <comma-separated list of properties> Skipped properties. (default: capabilities,options)
-W Full name of the class analysed. eg: weka.classifiers.rules.ZeroR (default weka.classifiers.rules.ZeroR)
| Constructor and Description |
|---|
CheckGOE()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkGlobalInfo()
checks whether the object declares a globalInfo method.
|
boolean |
checkToolTips()
checks whether the object declares tip text method for all its properties.
|
void |
doTests()
Runs some diagnostic tests on the object.
|
String |
getIgnoredProperties()
Get the ignored properties used in checkToolTips() as comma-separated list
(sorted).
|
Object |
getObject()
Get the object used in the tests.
|
String[] |
getOptions()
Gets the current settings of the object.
|
String |
getRevision()
Returns the revision string.
|
boolean |
getSuccess()
returns the success of the tests
|
Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(String[] args)
Main method for using the CheckGOE.
|
void |
setIgnoredProperties(String value)
Sets the properties to ignore in checkToolTips().
|
void |
setObject(Object value)
Set the object to work on..
|
void |
setOptions(String[] options)
Parses a given list of options.
|
public Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class Checkpublic void setOptions(String[] options) throws Exception
-D Turn on debugging output.
-S Silent mode - prints nothing to stdout.
-ignored <comma-separated list of properties> Skipped properties. (default: capabilities,options)
-W Full name of the class analysed. eg: weka.classifiers.rules.ZeroR (default weka.classifiers.rules.ZeroR)
setOptions in interface OptionHandlersetOptions in class Checkoptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class Checkpublic void setObject(Object value)
value - the object to use.public Object getObject()
public void setIgnoredProperties(String value)
value - the list of propertiescheckToolTips()public String getIgnoredProperties()
checkToolTips()public boolean getSuccess()
public boolean checkGlobalInfo()
public boolean checkToolTips()
public void doTests()
public String getRevision()
public static void main(String[] args)
args - the options to the CheckGOECopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.