|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pramati.bfly.vm.api.InstallEnv
public class InstallEnv
A data object holding information about the installation environment. The installation runtime creates this object
and passes it to callback classes.
| Constructor Summary | |
|---|---|
InstallEnv()
|
|
| Method Summary | |
|---|---|
String |
getApplicationId()
|
String |
getComponentRoot()
|
String |
getInstallDir()
File path where the platform is installed. |
String |
getInstallRoot()
Deprecated. use InstallEnv.getInstallDir() instead. |
InstallListener |
getListener()
Returns the InstallListener object, if set. |
String |
getNewArchivePath()
|
Version |
getNewVersion()
Returns the version of the component which is being installed/updated/uninstalled. |
Version |
getOldVersion()
Returns the current version of the component, if it is installed, else null if the component is not installed (i.e. |
void |
setApplicationId(String applicationId)
|
void |
setComponentRoot(String componentRoot)
|
void |
setInstallDir(String installDir)
|
void |
setListener(InstallListener listener)
Sets an InstallListener object. |
void |
setNewArchivePath(String newArchivePath)
|
void |
setNewVersion(Version newVersion)
Sets the new/current version of the component being installed. |
void |
setOldVersion(Version oldVersion)
Sets the old version (current version) of the component. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstallEnv()
| Method Detail |
|---|
public Version getOldVersion()
public void setOldVersion(Version oldVersion)
oldVersion - public Version getNewVersion()
public void setNewVersion(Version newVersion)
newVersion - public InstallListener getListener()
public void setListener(InstallListener listener)
listener - public String getComponentRoot()
UpdateHandler.postInstall(InstallEnv) method
can access this value.public void setComponentRoot(String componentRoot)
public String getInstallDir()
public void setInstallDir(String installDir)
public String toString()
toString in class Objectpublic void setNewArchivePath(String newArchivePath)
public String getNewArchivePath()
public void setApplicationId(String applicationId)
public String getApplicationId()
Component#getId()public String getInstallRoot()
InstallEnv.getInstallDir() instead.
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers