Package weka.gui.simplecli
Class Script
- java.lang.Object
-
- weka.gui.simplecli.AbstractCommand
-
- weka.gui.simplecli.Script
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractCommand>
public class Script extends AbstractCommand
Executes commands from a script file.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Script()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHelp()Returns the help string (no indentation).java.lang.StringgetName()Returns the name of the command.java.lang.StringgetParameterHelp()Returns the one-liner help string for the parameters.-
Methods inherited from class weka.gui.simplecli.AbstractCommand
compareTo, equals, execute, getCommand, getCommands, getOwner, setOwner
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the command.- Specified by:
getNamein classAbstractCommand- Returns:
- the name
-
getHelp
public java.lang.String getHelp()
Returns the help string (no indentation).- Specified by:
getHelpin classAbstractCommand- Returns:
- the help
-
getParameterHelp
public java.lang.String getParameterHelp()
Returns the one-liner help string for the parameters.- Specified by:
getParameterHelpin classAbstractCommand- Returns:
- the help, empty if none available
-
-