public class RunWebBotTask extends Object
WebBotTask; it creates an instance
of the named task and then runs it. If multiple command-line
arguments are given, they are all interpreted as WebBotTask
names and are created and executed in turn.
As an example, to run a RobotTask called
MyRobotTest, use the following command:
java -cp C:/BlueJ/lib/userlib/student.jar student.RunRobotTask MyRobotTest
Note that this example presumes that student.jar is
located at the specified path (based on a default BlueJ installation
using the course-provided installer) and MyRobotTest.class
is in the current directory.
Use relative or absolute path names to refer to these files if they are
somewhere else.
| Constructor and Description |
|---|
RunWebBotTask()
Create a new RunRobotTask object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
This main method takes the name of a RobotTask class as an
argument, and it executes the corresponding task.
|
public static void main(String[] args)
args - the argument list from the command line