|
CS 1705 Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcs1705.web.RunRobotTask
public class RunRobotTask
This class represents a main program that takes a command-line
argument that names a RobotTask; it creates an instance
of the named task and then runs it. If multiple command-line
arguments are given, they are all interpreted as RobotTask
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/cs1705.jar cs1705.RunRobotTask MyRobotTest
Note that this example presumes that cs1705.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 Summary | |
|---|---|
RunRobotTask()
Create a new RunRobotTask object. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
This main method takes the name of a RobotTask class as an argument, and it executes the corresponding task. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunRobotTask()
| Method Detail |
|---|
public static void main(String[] args)
args - the argument list from the command line
|
Last updated: Wed, Apr 1, 2009 12:29 AM EDT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||