fr.paris.lutece.plugins.updater.service
Class UpdateInfos

java.lang.Object
  extended by fr.paris.lutece.plugins.updater.service.UpdateInfos

public class UpdateInfos
extends java.lang.Object

Update processing datas


Constructor Summary
UpdateInfos(java.lang.String pluginName)
          Constructor
 
Method Summary
 java.lang.String getCurrentVersion()
          Returns the CurrentVersion
 java.lang.String getPluginName()
          Gets the plugin name
 java.lang.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(java.lang.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(java.lang.String strTargetVersion)
          Sets the TargetVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateInfos

public UpdateInfos(java.lang.String pluginName)
Constructor

Parameters:
pluginName - The plugin name
Method Detail

getPluginName

public java.lang.String getPluginName()
Gets the plugin name

Returns:
the plugin name

getCurrentVersion

public java.lang.String getCurrentVersion()
Returns the CurrentVersion

Returns:
The CurrentVersion

setCurrentVersion

public void setCurrentVersion(java.lang.String strCurrentVersion)
Sets the CurrentVersion

Parameters:
strCurrentVersion - The CurrentVersion

getTargetVersion

public java.lang.String getTargetVersion()
Returns the TargetVersion

Returns:
The TargetVersion

setTargetVersion

public void setTargetVersion(java.lang.String strTargetVersion)
Sets the TargetVersion

Parameters:
strTargetVersion - The TargetVersion

isRestorable

public boolean isRestorable()
Is there a backup available

Returns:
true if the plugin can be restored otherwise false

setRestorable

public void setRestorable(boolean bRestorable)
Sets the restorable flag

Parameters:
bRestorable - true if the plugin can be restored otherwise false

isDownloaded

public boolean isDownloaded()
Tells wether or not the release has been downloaded

Returns:
true if downloaded, otherwise false

setDownloaded

public void setDownloaded(boolean bDownloaded)
Sets the downloaded flag

Parameters:
bDownloaded - The downloaded flag : true if downloaded, otherwise false

isInstallInProgress

public boolean isInstallInProgress()
Tells if the install is in progress (process planed at shutdown and next startup)

Returns:
true if an install is in progress, otherwise false

setInstallInProgress

public void setInstallInProgress(boolean bInstallInProgress)
Sets the InstallInProgress flag

Parameters:
bInstallInProgress - The InstallInProgress flag

isCriticalUpdate

public boolean isCriticalUpdate()
Returns the CriticalUpdate

Returns:
The CriticalUpdate

setCriticalUpdate

public void setCriticalUpdate(boolean bCriticalUpdate)
Sets the CriticalUpdate

Parameters:
bCriticalUpdate - The CriticalUpdate


Copyright © 2012 Mairie de Paris. All Rights Reserved.