org.gcube.common.vremanagement.deployer.impl.operators.patch
Class PatchExtractor

java.lang.Object
  extended by org.gcube.common.vremanagement.deployer.impl.operators.deployment.BaseExtractor
      extended by org.gcube.common.vremanagement.deployer.impl.operators.patch.PatchExtractor
All Implemented Interfaces:
Extractor

public class PatchExtractor
extends BaseExtractor


Field Summary
 
Fields inherited from class org.gcube.common.vremanagement.deployer.impl.operators.deployment.BaseExtractor
downloader, logger, run
 
Constructor Summary
PatchExtractor(Downloader downloader)
           
 
Method Summary
 DeployablePackage getPackage()
          Gets the downloaded package
 String getPatchFolder()
           
protected  void manageDownloadedFile()
           
 
Methods inherited from class org.gcube.common.vremanagement.deployer.impl.operators.deployment.BaseExtractor
getDownloadedFile, getName, getPackagedir, getPackageFilesDir, getServiceClass, getServiceKey, getServiceName, getServiceVersion, getVersion, isUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchExtractor

public PatchExtractor(Downloader downloader)
               throws Exception
Throws:
Exception
Method Detail

manageDownloadedFile

protected void manageDownloadedFile()
                             throws DeployException,
                                    InvalidPackageArchiveException
Throws:
DeployException
InvalidPackageArchiveException

getPatchFolder

public String getPatchFolder()
                      throws DeployException,
                             InvalidPackageArchiveException
Returns:
the folder in which the patch has been downloaded
Throws:
InvalidPackageArchiveException
DeployException

getPackage

public DeployablePackage getPackage()
                             throws InvalidPackageArchiveException,
                                    Exception
Description copied from interface: Extractor
Gets the downloaded package

Returns:
the deployable package
Throws:
InvalidPackageArchiveException - if the package is not found or valid
Exception


Copyright © 2012. All Rights Reserved.