org.gcube.common.vremanagement.deployer.impl.resources.deployment
Class DeployablePackageFactory
java.lang.Object
org.gcube.common.vremanagement.deployer.impl.resources.deployment.DeployablePackageFactory
public class DeployablePackageFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployablePackageFactory
public DeployablePackageFactory()
createDeployablePackageFromProfile
public static Deployable createDeployablePackageFromProfile(org.gcube.common.core.resources.service.Package packageprofile,
PackageExtractor extractor)
throws InvalidPackageArchiveException,
Exception
- Creates a new
Deployable package starting from its profile
- Parameters:
packageprofile - the profile instance
- Returns:
- the deployable package
- Throws:
InvalidPackageArchiveException
Exception
createDeployablePackageFromJar
public static Deployable createDeployablePackageFromJar(ExternalPackageExtractor extractor)
throws InvalidPackageArchiveException,
Exception
- Creates a new
Deployable package starting from its extractor
- Parameters:
packagefile - the file instance
- Returns:
- the deployable package
- Throws:
InvalidPackageArchiveException
Exception
Copyright © 2012. All Rights Reserved.