All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.wizards.tasks.FilesystemParamsTask

java.lang.Object
   |
   +----com.sun.wizards.core.Task
           |
           +----com.sun.wizards.tasks.FilesystemParamsTask

public class FilesystemParamsTask
extends Task
implements Serializable
The filesystem paramerters task discovers filesystem areas on the target platform. The target areas include the users home directory, the users current directory, the system executable directory (a directory in which singular executable files might be found), and the system library directory (where shared libraries might be found).

All of this information will be set into the wizard state.

This is a simple Task with one constructor that can only be used one way, that is to gather platform-specific information for use during the life of the wizard. You include this in any sequence, usually an initialization or beginning sequence:


Sequence initSequence = new Sequence(); initSequence.addTask(new FilesystemParamsTask()); initSequence.addTask(anotherTask); initSequence.addTask(andAnother);


Constructor Index

 o FilesystemParamsTask()
Creates a FilesystemParamsTask.

Method Index

 o addRuntimeResources(Vector)
Add the runtime class requirements to the specified vector.
 o perform()
Perform this task.
 o registerCurrentDirectory(WizardState)
This method registers the user's current directory with the wizard state.
 o registerFileSeparator(WizardState)
This method registers the file separator with the wizard state.
 o registerSystemExecutable(WizardState)
This method registers the system executable directory with the wizard state.
 o registerSystemLibrary(WizardState)
This method registers the system library directory with the wizard state.
 o registerUserDirectory(WizardState)
This method registers the user's home directory with the wizard state.

Constructors

 o FilesystemParamsTask
 public FilesystemParamsTask()
Creates a FilesystemParamsTask.

Methods

 o perform
 public void perform()
Perform this task. This method finds the platform-specific paths and sets them into the wizard state.

Overrides:
perform in class Task
 o registerFileSeparator
 protected void registerFileSeparator(WizardState wizardState)
This method registers the file separator with the wizard state.

Parameters:
wizardState - The wizard state.
 o registerUserDirectory
 protected void registerUserDirectory(WizardState wizardState)
This method registers the user's home directory with the wizard state.

Parameters:
wizardState - The wizard state.
 o registerCurrentDirectory
 protected void registerCurrentDirectory(WizardState wizardState)
This method registers the user's current directory with the wizard state.

Parameters:
wizardState - The wizard state.
 o registerSystemExecutable
 protected void registerSystemExecutable(WizardState wizardState)
This method registers the system executable directory with the wizard state. The system executable directory is where singular executable binary files would be found.

Parameters:
wizardState - The wizard state.
 o registerSystemLibrary
 protected void registerSystemLibrary(WizardState wizardState)
This method registers the system library directory with the wizard state. The system library directory is where shared library files would be found.

Parameters:
wizardState - The wizard state.
 o addRuntimeResources
 public void addRuntimeResources(Vector resourceVector)
Add the runtime class requirements to the specified vector.

Parameters:
resourceVector - The vector containing all runtime resources for this wizard.
Overrides:
addRuntimeResources in class Task

All Packages  Class Hierarchy  This Package  Previous  Next  Index