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.
|
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.
|
java.lang.String |
getRevision()
Returns the revision string.
|
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.
|
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 stringsjava.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()
public java.lang.String getRevision()
public static void main(java.lang.String[] args)
args
- the options to the CheckGOE