public class UpdateInfos extends Object
Constructor and Description |
---|
UpdateInfos(String pluginName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentVersion()
Returns the CurrentVersion
|
String |
getPluginName()
Gets the plugin name
|
String |
getTargetVersion()
Returns the TargetVersion
|
boolean |
isCriticalUpdate()
Returns the CriticalUpdate
|
boolean |
isDownloaded()
Tells wether or not the release has been downloaded
|
boolean |
isInstallInProgress()
Tells if the install is in progress (process planed at shutdown and next startup)
|
boolean |
isRestorable()
Is there a backup available
|
void |
setCriticalUpdate(boolean bCriticalUpdate)
Sets the CriticalUpdate
|
void |
setCurrentVersion(String strCurrentVersion)
Sets the CurrentVersion
|
void |
setDownloaded(boolean bDownloaded)
Sets the downloaded flag
|
void |
setInstallInProgress(boolean bInstallInProgress)
Sets the InstallInProgress flag
|
void |
setRestorable(boolean bRestorable)
Sets the restorable flag
|
void |
setTargetVersion(String strTargetVersion)
Sets the TargetVersion
|
public UpdateInfos(String pluginName)
pluginName
- The plugin namepublic String getPluginName()
public String getCurrentVersion()
public void setCurrentVersion(String strCurrentVersion)
strCurrentVersion
- The CurrentVersionpublic String getTargetVersion()
public void setTargetVersion(String strTargetVersion)
strTargetVersion
- The TargetVersionpublic boolean isRestorable()
public void setRestorable(boolean bRestorable)
bRestorable
- true if the plugin can be restored otherwise falsepublic boolean isDownloaded()
public void setDownloaded(boolean bDownloaded)
bDownloaded
- The downloaded flag : true if downloaded, otherwise falsepublic boolean isInstallInProgress()
public void setInstallInProgress(boolean bInstallInProgress)
bInstallInProgress
- The InstallInProgress flagpublic boolean isCriticalUpdate()
public void setCriticalUpdate(boolean bCriticalUpdate)
bCriticalUpdate
- The CriticalUpdateCopyright © 2016 Mairie de Paris. All Rights Reserved.