org.gcube.common.vremanagement.deployer.impl.operators.deployment
Class PackageExtractor
java.lang.Object
org.gcube.common.vremanagement.deployer.impl.operators.deployment.BaseExtractor
org.gcube.common.vremanagement.deployer.impl.operators.deployment.PackageExtractor
- All Implemented Interfaces:
- Extractor
public class PackageExtractor
- extends BaseExtractor
- Author:
- manuele simi (CNR)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceprofileFullPath
protected String serviceprofileFullPath
- Full path of the service profile file found in the downloaded package
serviceProfile
protected org.gcube.common.core.resources.GCUBEService serviceProfile
packageprofile
protected org.gcube.common.core.resources.service.Package packageprofile
serviceprofileFileName
protected String serviceprofileFileName
- Name of the service profile file found in the downloaded package
PackageExtractor
public PackageExtractor(Downloader downloader)
throws Exception
- Throws:
Exception
getServiceProfileFileName
public String getServiceProfileFileName()
getServiceProfileFullPath
public String getServiceProfileFullPath()
getServiceProfile
public org.gcube.common.core.resources.GCUBEService getServiceProfile()
getPackage
public Deployable 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 © 2013. All Rights Reserved.