|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.Check
weka.core.CheckGOE
public class CheckGOE
Simple command line checking of classes that are editable in the GOE.
Usage:
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 Summary | |
---|---|
CheckGOE()
default constructor |
Method Summary | |
---|---|
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. |
java.lang.String |
getIgnoredProperties()
Get the ignored properties used in checkToolTips() as comma-separated list (sorted). |
java.lang.Object |
getObject()
Get the object used in the tests. |
java.lang.String[] |
getOptions()
Gets the current settings of the object. |
boolean |
getSuccess()
returns the success of the tests |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
static void |
main(java.lang.String[] args)
Main method for using the CheckGOE. |
void |
setIgnoredProperties(java.lang.String value)
Sets the properties to ignore in checkToolTips(). |
void |
setObject(java.lang.Object value)
Set the object to work on.. |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
Methods inherited from class weka.core.Check |
---|
getDebug, getSilent, setDebug, setSilent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CheckGOE()
Method Detail |
---|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class Check
public void setOptions(java.lang.String[] options) throws java.lang.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 OptionHandler
setOptions
in class Check
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class Check
public void setObject(java.lang.Object value)
value
- the object to use.public java.lang.Object getObject()
public void setIgnoredProperties(java.lang.String value)
value
- the list of propertiescheckToolTips()
public java.lang.String getIgnoredProperties()
checkToolTips()
public boolean getSuccess()
public boolean checkGlobalInfo()
public boolean checkToolTips()
public void doTests()
doTests
in class Check
public static void main(java.lang.String[] args)
args
- the options to the CheckGOE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |