edu.rice.cs.cunit
Class FileInstrumentor.Tool
java.lang.Object
edu.rice.cs.cunit.FileInstrumentor.Tool
- Direct Known Subclasses:
- TCFileInstrumentor.TCTool
- Enclosing class:
- FileInstrumentor
public static class FileInstrumentor.Tool
- extends java.lang.Object
Class to perform the command line utility tasks.
Method Summary |
protected int |
checkArgs(java.lang.String[] args)
Check the arguments, set the fields, and return the index of the first file. |
protected void |
help(java.io.PrintStream out)
Print out a help message. |
void |
run(java.lang.String[] args)
Run the file instrumentor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_startDate
protected java.util.Date _startDate
_createBackups
protected boolean _createBackups
_unpackJars
protected boolean _unpackJars
_instrumentRt
protected boolean _instrumentRt
_cunitRtJarName
protected java.lang.String _cunitRtJarName
_cunitFilters
protected java.util.List<java.lang.String> _cunitFilters
_destRtJarName
protected java.lang.String _destRtJarName
_sourceRtJarName
protected java.lang.String _sourceRtJarName
_instrumentorClassName
protected java.lang.String _instrumentorClassName
_sysInstrumentorClassName
protected java.lang.String _sysInstrumentorClassName
_parameters
protected java.util.List<java.lang.String> _parameters
FileInstrumentor.Tool
public FileInstrumentor.Tool()
run
public void run(java.lang.String[] args)
- Run the file instrumentor.
- Parameters:
args
- command line arguments
checkArgs
protected int checkArgs(java.lang.String[] args)
- Check the arguments, set the fields, and return the index of the first file.
- Parameters:
args
- command line arguments
- Returns:
- index of first file
help
protected void help(java.io.PrintStream out)
- Print out a help message.
- Parameters:
out
- stream to output to