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!


Constructor Index

 o RebootTask()
This constructor is used by the builder.

Method Index

 o addRuntimeResources(Vector)
Add the runtime class requirements to the specified vector.
 o deserialize(DataInputStream)
De-Serialize this object.
 o perform()
Reboot the system.
 o reboot()
Do the actual reboot
 o serialize(RandomAccessFile)
Serialize this object.

Constructors

 o RebootTask
 public RebootTask()
This constructor is used by the builder.

Methods

 o perform
 public void perform()
Reboot the system.

Overrides:
perform in class Task
 o reboot
 public void reboot()
Do the actual reboot

 o serialize
 public void serialize(RandomAccessFile file)
Serialize this object.

Parameters:
file - The file to write the resulting serialized object to.
 o deserialize
 public void deserialize(DataInputStream in)
De-Serialize this object.

Parameters:
in - The stream to read serialized object from.
 o 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