public class DemoRecorder
extends java.lang.Object
DemoRobot
Constructor and Description |
---|
DemoRecorder()
Initialize the DemoRecorder.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method to start the demo recorder.
|
void |
setArgs(java.util.List<java.lang.String> argList)
Set arguments for the demonstration class
|
void |
setDemoClass(java.lang.String className)
Set the class to record the demo script for.
|
boolean |
startApp()
Start the application that has been set up.
|
public DemoRecorder()
public void setArgs(java.util.List<java.lang.String> argList)
argList
- command line arguments for the demonstration classpublic void setDemoClass(java.lang.String className) throws java.lang.ClassNotFoundException
className
- the name of the classjava.lang.ClassNotFoundException
- if the class cannot be foundpublic boolean startApp()
public static void main(java.lang.String[] args)
args
- Command line arguments. The first argument should be the
filename of the script file. THe second argument should be
the classpath to the class being demonstrated. Any additional
arguments are passed to the initialization of the demo class