All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.install.tasks.RebootTask
java.lang.Object
|
+----com.sun.wizards.core.Task
|
+----com.sun.install.tasks.RebootTask
- public class RebootTask
- extends Task
- implements Serializable
RebootTask will reboot the system. Use with caution!
-
RebootTask()
- This constructor is used by the builder.
-
addRuntimeResources(Vector)
- Add the runtime class requirements to the specified vector.
-
deserialize(DataInputStream)
- De-Serialize this object.
-
perform()
- Reboot the system.
-
reboot()
- Do the actual reboot
-
serialize(RandomAccessFile)
- Serialize this object.
RebootTask
public RebootTask()
- This constructor is used by the builder.
perform
public void perform()
- Reboot the system.
- Overrides:
- perform in class Task
reboot
public void reboot()
- Do the actual reboot
serialize
public void serialize(RandomAccessFile file)
- Serialize this object.
- Parameters:
- file - The file to write the resulting serialized object to.
deserialize
public void deserialize(DataInputStream in)
- De-Serialize this object.
- Parameters:
- in - The stream to read serialized object from.
addRuntimeResources
public void addRuntimeResources(Vector resourceVector)
- Add the runtime class requirements to the specified vector.
- Parameters:
- resourceVector - The vector containing all the required resources
for this wizard.
- Overrides:
- addRuntimeResources in class Task
All Packages Class Hierarchy This Package Previous Next Index