public class PackageExtractor extends BaseExtractor
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.common.core.resources.service.Package |
packageprofile |
protected org.gcube.common.core.resources.GCUBEService |
serviceProfile |
protected String |
serviceprofileFileName
Name of the service profile file found in the downloaded package
|
protected String |
serviceprofileFullPath
Full path of the service profile file found in the downloaded package
|
downloader, logger, run| Constructor and Description |
|---|
PackageExtractor(Downloader downloader) |
| Modifier and Type | Method and Description |
|---|---|
Deployable |
getPackage()
Gets the downloaded package
|
org.gcube.common.core.resources.GCUBEService |
getServiceProfile() |
String |
getServiceProfileFileName() |
String |
getServiceProfileFullPath() |
getDownloadedFile, getName, getPackagedir, getPackageFilesDir, getServiceClass, getServiceKey, getServiceName, getServiceVersion, getVersion, isUpdateprotected String serviceprofileFullPath
protected org.gcube.common.core.resources.GCUBEService serviceProfile
protected org.gcube.common.core.resources.service.Package packageprofile
protected String serviceprofileFileName
public PackageExtractor(Downloader downloader) throws Exception
Exceptionpublic String getServiceProfileFileName()
public String getServiceProfileFullPath()
public org.gcube.common.core.resources.GCUBEService getServiceProfile()
public Deployable getPackage() throws InvalidPackageArchiveException, Exception
ExtractorInvalidPackageArchiveException - if the package is not found or validExceptionCopyright © 2015. All Rights Reserved.