Package weka.core
Annotation Interface OptionMetadata
Method annotation that can be used with scheme parameters to provide a nice
display-ready name for the parameter, help information and command-line
option details.
- Version:
- $Revision: 15589 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionDescription of this parameter.The nice GUI displayable name for this parameter -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionOptional category for the parameter.boolean
True if the command line version of this parameter is a flag (i.e.The name of the command line version of this parameter (without leading -).The synopsis to display on in the command line help for this parameter (e.g.int
The order (low to high), relative to other parameters, that this property should be displayed in the GUI and, if applicable, on the command line help
-
Element Details
-
-
category
String categoryOptional category for the parameter. GUI dialog can use this to group certain options for display in child dialogs- Returns:
- the category for this option
- Default:
- ""
-
displayOrder
int displayOrderThe order (low to high), relative to other parameters, that this property should be displayed in the GUI and, if applicable, on the command line help- Returns:
- the order (default 100)
- Default:
- 100
-
commandLineParamName
String commandLineParamNameThe name of the command line version of this parameter (without leading -). Note that this must be provided if this object will be edited by Weka's standard GenericObjectEditor (as configurations are copied via command-line options in order to avoid deep copying objects).- Returns:
- the name of the command line version of this parameter
- Default:
- ""
-
commandLineParamIsFlag
boolean commandLineParamIsFlagTrue if the command line version of this parameter is a flag (i.e. binary parameter).- Returns:
- true if the command line version of this parameter is a flag
- Default:
- false
-
commandLineParamSynopsis
String commandLineParamSynopsisThe synopsis to display on in the command line help for this parameter (e.g. -Z). Note that this must be provided if this object will be edited by Weka's standard GenericObjectEditor (as configurations are copied via command-line * options in order to avoid deep copying objects). - Returns:
- the command line synopsis for this parameter
- Default:
- ""
-