All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.manager.TaskManager
java.lang.Object
|
+----com.sgi.sysadm.manager.RApp
|
+----com.sgi.sysadm.manager.TaskManager
- public class TaskManager
- extends RApp
- implements TaskManagerProperties
TaskManager is a User interface intended to be the front end of a
sysadm product. It is customized for a specific product by
overriding the generic resources in a file called
{product}.TaskManagerP.properties. See TaskManagerProperties for
details about the properties that can be overridden.
It is also possible to write subclasses of TaskManagerFrame,
TaskManagerAction, and TaskManagerPanel that can be plugged into
TaskManager, again by referring to those classes in the
TaskManagerP.properites file.
XXX more details coming soon to a comment near you.
-
TaskManager(String)
- Constructor.
-
TaskManager(String[])
- Constructor.
-
createFrame()
-
-
launchApp(HostContext, RApp. RAppLaunchListener)
-
-
main(String[])
- Display a set of tasks for a product.
-
run(HostContext, RApp. RAppLaunchListener)
- Override RApp.run in order to implement run-once behavior.
-
setArgs(Vector, ResultListener)
- Parse the command line arguments.
TaskManager
public TaskManager(String args[])
- Constructor.
This constructor should be called when TaskManager is started
from the command line. The product name must be specified via
the -p option.
TaskManager
public TaskManager(String productName)
- Constructor.
This constructor should be called when TaskManager is being launched
from another application that has already logged in. The
caller should next call initApp() and then run() to start the
application.
- Parameters:
- productName -
CLASSPATH relative path where
TaskManagerP.properties has been defined.
main
public static void main(String args[])
- Display a set of tasks for a product.
Usage: java sysadm.manager.TaskManager -p
product name
package.productname to launch.
- Parameters:
- args - List of command line arguments.
createFrame
public RFrame createFrame()
- Overrides:
- createFrame in class RApp
- See Also:
- createFrame
run
public void run(HostContext hc,
RApp. RAppLaunchListener listener)
- Override RApp.run in order to implement run-once behavior.
- Overrides:
- run in class RApp
- See Also:
- run
launchApp
protected void launchApp(HostContext hc,
RApp. RAppLaunchListener listener)
- Overrides:
- launchApp in class RApp
- See Also:
- launchApp
setArgs
public void setArgs(Vector args,
ResultListener listener)
- Parse the command line arguments.
Sets the following class fields:
_productName
- Parameters:
- args - List of command line arguments.
- listener - Listener to notify of success or failure.
- Overrides:
- setArgs in class RApp
All Packages Class Hierarchy This Package Previous Next Index