|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.installguru.installer.ShortcutTask
This is a non-GUI task which create a platform specific shortcut.
ShortcutPanel| Constructor Summary | |
ShortcutTask()
Creates a new instance of ShortcutTask |
|
| Method Summary | |
void |
doCancel(java.util.Properties properties)
This method is called by the installer when the install operation is cancelled by the user. |
boolean |
doNext(java.util.Properties properties)
This method is called by the installer when it is moved to the next task. |
java.lang.String |
getDescription()
Getter for property description. |
java.lang.String |
getDestination()
Gets the path of the destination directory where this shortcut to be created. |
java.lang.String |
getIconPath()
Gets the icon path of this shortcut. |
java.lang.String |
getName()
Getter for property name. |
java.lang.String |
getSource()
Gets the source path of this shortcut to which this shortcut point to. |
void |
init(java.util.Properties properties)
This method is called by the installer whenever this task is initialized. |
boolean |
isOSSupported()
Currently this task is supported only on Windows platform. |
void |
setDescription(java.lang.String description)
Setter for property description. |
void |
setDestination(java.lang.String destination)
Sets the path of the destination directory where this shortcut to be created. |
void |
setIconPath(java.lang.String icon)
Sets the icon path of this shortcut. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setSource(java.lang.String source)
Sets the source path of this shortcut to which this shortcut point to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShortcutTask()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - New value of property name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - New value of property description.public java.lang.String getSource()
public void setSource(java.lang.String source)
path - to source.public java.lang.String getDestination()
ShortcutPanel GUI task.public void setDestination(java.lang.String destination)
ShortcutPanel GUI task.path - of destination.public java.lang.String getIconPath()
public void setIconPath(java.lang.String icon)
public void doCancel(java.util.Properties properties)
InstallTaskdoCancel in interface InstallTaskorg.installguru.installer.InstallTaskprops - installer properties.
public boolean doNext(java.util.Properties properties)
throws InstallException
InstallTaskdoNext in interface InstallTaskorg.installguru.installer.InstallTaskprops - installer properties.true to allow to move to next task. Otherwise it stays on this task.InstallException. -
public void init(java.util.Properties properties)
throws InstallException
InstallTaskinit in interface InstallTaskorg.installguru.installer.InstallTaskprops - installer properties.InstallException. - public boolean isOSSupported()
isOSSupported in interface InstallTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||