org.gcube.common.vremanagement.deployer.impl.operators.deployment
Class BaseExtractor

java.lang.Object
  extended by org.gcube.common.vremanagement.deployer.impl.operators.deployment.BaseExtractor
All Implemented Interfaces:
Extractor
Direct Known Subclasses:
ExternalPackageExtractor, PackageExtractor, PatchExtractor

public abstract class BaseExtractor
extends Object
implements Extractor


Field Summary
protected  Downloader downloader
           
protected  org.gcube.common.core.utils.logging.GCUBELog logger
           
protected  AntRunner run
          Local Ant runner
 
Constructor Summary
BaseExtractor(Downloader downloader)
           
 
Method Summary
 File getDownloadedFile()
           
 String getName()
           
 String getPackagedir()
           
 String getPackageFilesDir()
           
 String getServiceClass()
           
 String getServiceKey()
           
 String getServiceName()
           
 String getServiceVersion()
           
 String getVersion()
           
 boolean isUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.common.vremanagement.deployer.impl.operators.deployment.Extractor
getPackage
 

Field Detail

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger

run

protected AntRunner run
Local Ant runner


downloader

protected Downloader downloader
Constructor Detail

BaseExtractor

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

getDownloadedFile

public File getDownloadedFile()
Returns:
the source file

getServiceClass

public String getServiceClass()
Returns:
the service class

getServiceName

public String getServiceName()
Returns:
the service name

getName

public String getName()
Returns:
the package name

getVersion

public String getVersion()
Returns:
the package version

getServiceVersion

public String getServiceVersion()
Returns:
the service version

getServiceKey

public String getServiceKey()
Returns:
the service unique key

getPackageFilesDir

public String getPackageFilesDir()

isUpdate

public boolean isUpdate()

getPackagedir

public String getPackagedir()


Copyright © 2013. All Rights Reserved.